Même si j’utilise LM avec bonheur depuis plus de 10 ans, je suis bien incapable de décrypter les messages d’erreurs de la console puis de corriger le tir.
C’est peut-être lié au fait que j’ai trop de sous dossiers avant le fichier .sh?
Mais impossible de mettre le dossier principal (qui contient le fichier .sh + 4 autres dossiers + un autre fichier .sh) plus haut sur le disque.
Voici donc ce que me donne la console :
asusk555@Asus-K555LAB:~/DiRTRally$ chmod +x start.sh
asusk555@Asus-K555LAB:~/DiRTRally$ ./start.sh
ERROR: ld.so: object '../lib/x86_64/libsteam_api.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '../lib/x86_64/libsteam_api.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
=== ERROR - You're missing vital libraries to run DiRT Rally
=== Either use the steam runtime or install these using your package manager
ERROR: ld.so: object '../lib/x86_64/libsteam_api.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
libssl.so.1.0.0 => not found
libcrypto.so.1.0.0 => not found
libidn.so.11 => not found
librtmp.so.0 => not found
libssl.so.1.0.0 => not found
libcrypto.so.1.0.0 => not found
liblber-2.4.so.2 => not found
libldap_r-2.4.so.2 => not found
libgconf-2.so.4 => not found
===
ERROR: ld.so: object '../lib/x86_64/libsteam_api.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '../lib/x86_64/libsteam_api.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
/home/asusk555/DiRTRally/bin/DirtRally: error while loading shared libraries: libssl.so.1.0.0: cannot open shared object file: No such file or directory
./DirtRally.sh: 10: /home/asusk555/DiRTRally/config/post-run-check.sh: SIGNAL_MESSAGE[1]=SIGHUP(1): Program Hangup (GPU driver issue?): not found
./DirtRally.sh: 11: /home/asusk555/DiRTRally/config/post-run-check.sh: SIGNAL_MESSAGE[2]=SIGINT(2): Program Interrupted: not found
./DirtRally.sh: 12: /home/asusk555/DiRTRally/config/post-run-check.sh: SIGNAL_MESSAGE[4]=SIGILL(4): Illegal instruction, check your CPU meets minimum requirements: not found
./DirtRally.sh: 13: /home/asusk555/DiRTRally/config/post-run-check.sh: SIGNAL_MESSAGE[6]=SIGABRT(6): Program Aborted: not found
./DirtRally.sh: 14: /home/asusk555/DiRTRally/config/post-run-check.sh: SIGNAL_MESSAGE[8]=SIGFPE(8): Floating-point exception, check your CPU meets minimum requirements: not found
./DirtRally.sh: 15: /home/asusk555/DiRTRally/config/post-run-check.sh: SIGNAL_MESSAGE[9]=SIGKILL(9): Program killed: not found
./DirtRally.sh: 16: /home/asusk555/DiRTRally/config/post-run-check.sh: SIGNAL_MESSAGE[11]=SIGSEGV(11): Segmentation fault: not found
./DirtRally.sh: 17: /home/asusk555/DiRTRally/config/post-run-check.sh: SIGNAL_MESSAGE[13]=SIGPIPE(13): Broken pipe, check networking: not found
./DirtRally.sh: 18: /home/asusk555/DiRTRally/config/post-run-check.sh: SIGNAL_MESSAGE[15]=SIGTERM(15): Program terminated: not found
./DirtRally.sh: 19: /home/asusk555/DiRTRally/config/post-run-check.sh: SIGNAL_MESSAGE[20]=SIGPWR(20): Program received power down signal: not found
./DirtRally.sh: 20: /home/asusk555/DiRTRally/config/post-run-check.sh: SIGNAL_MESSAGE[31]=SIGSYS(31): Bad system call: not found
./DirtRally.sh: 22: /home/asusk555/DiRTRally/config/post-run-check.sh: Bad substitution
Merci d’avance
(Pour ceux qui ont compris ce que je cherche à lancer, je n’ai pas le choix, c’est impossible à trouver officiellement car trop vieux)
Config :
- Portable ASUS X756, I3 6006, 4GB de DDR4, Graphic HD520, SSD de 128 GB (Z400S MLC), HD de 500 GB
- LM 18.1 XFCE 64
Oh que non, je n’ai pas du tout les compétences d’écrire un script. C’est un peu en désespoir de cause que j’ai télécharger l’ensemble ( 2 fichiers sh + 4 dossiers).
Je l’explique mieux ici : viewtopic.php?f=17&t=22180
Je vais coller ici le texte du script mais ca peut être délicat, donc pas de pb si c’est supprimé.
#!/bin/sh
cd "`dirname "$0"`"
if [ ! -f "./bin/activated.ini" ] || [ "./bin/activated.ini.dist" -nt "./bin/activated.ini" ]
then
case `echo $LANG | head -c 2` in
ru)
USELANG=russian
;;
*)
USELANG=english
;;
esac
sed s/%LANGUAGE%/$USELANG/g ./bin/activated.ini.dist > ./bin/activated.ini
fi
if [ ! -e "./share/FeralUI/PGOW/Core/images/UICalendarBackgrounds" ]
then
mkdir ./share/FeralUI/PGOW/Core/images/UICalendarBackgrounds
fi
if [ ! -e "./share/data/replay_camera_config.xml" ]
then
touch ./share/data/replay_camera_config.xml
fi
if [ ! -e "./share/data/dynamic_camera_rig_data.xml" ]
then
touch ./share/data/dynamic_camera_rig_data.xml
fi
chmod +x ./bin/DirtRally
chmod +x ./bin/FeralBrowser
chmod +x ./bin/FeralLinuxMessage
chmod +x ./bin/feral_linux_crash_reporter
chmod +x ./share/sysreport.sh
chmod +x ./DirtRally.sh
./DirtRally.sh $@
Peut-être faudrait-il que j’exécute d’abord l’autre fichier .sh qui est un peu plus long ?
Ca avait l’air si simple et puis maintenant ca ne me rassure pas trop niveau sécurité.
Config :
- Portable ASUS X756, I3 6006, 4GB de DDR4, Graphic HD520, SSD de 128 GB (Z400S MLC), HD de 500 GB
- LM 18.1 XFCE 64
Encore merci et surtout pour cette réponse très didactique.
Je vais lancer le plan de bataille et bien lister les dépendances que je vais installer (avec petite vérif dans google pour avoir une idée de la dangerosité).
Heureusement, je tests tout ca sur un portable temporaire qui attend sagement son futur passage à LM22.
Je vous revient quand j’ai du nouveau.
Config :
- Portable ASUS X756, I3 6006, 4GB de DDR4, Graphic HD520, SSD de 128 GB (Z400S MLC), HD de 500 GB
- LM 18.1 XFCE 64
Bon et bien c’est pas brillant.
J’ai fait une première salve d’installation :
libssl3
libcrypto++8
librtmp1
Impossible de trouver un paquet liblber
libldap-2.5-0
libgconf-2-4 (Il prend 8Go sur le disque!!)
asusk555@Asus-K555LAB:~/DiRTRally$ ./start.sh
ERROR: ld.so: object '../lib/x86_64/libsteam_api.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '../lib/x86_64/libsteam_api.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
=== ERROR - You're missing vital libraries to run DiRT Rally
=== Either use the steam runtime or install these using your package manager
ERROR: ld.so: object '../lib/x86_64/libsteam_api.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
libssl.so.1.0.0 => not found
libcrypto.so.1.0.0 => not found
libidn.so.11 => not found
librtmp.so.0 => not found
libssl.so.1.0.0 => not found
libcrypto.so.1.0.0 => not found
liblber-2.4.so.2 => not found
libldap_r-2.4.so.2 => not found
===
ERROR: ld.so: object '../lib/x86_64/libsteam_api.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '../lib/x86_64/libsteam_api.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
/home/asusk555/DiRTRally/bin/DirtRally: error while loading shared libraries: libssl.so.1.0.0: cannot open shared object file: No such file or directory
./DirtRally.sh: 10: /home/asusk555/DiRTRally/config/post-run-check.sh: SIGNAL_MESSAGE[1]=SIGHUP(1): Program Hangup (GPU driver issue?): not found
./DirtRally.sh: 11: /home/asusk555/DiRTRally/config/post-run-check.sh: SIGNAL_MESSAGE[2]=SIGINT(2): Program Interrupted: not found
./DirtRally.sh: 12: /home/asusk555/DiRTRally/config/post-run-check.sh: SIGNAL_MESSAGE[4]=SIGILL(4): Illegal instruction, check your CPU meets minimum requirements: not found
./DirtRally.sh: 13: /home/asusk555/DiRTRally/config/post-run-check.sh: SIGNAL_MESSAGE[6]=SIGABRT(6): Program Aborted: not found
./DirtRally.sh: 14: /home/asusk555/DiRTRally/config/post-run-check.sh: SIGNAL_MESSAGE[8]=SIGFPE(8): Floating-point exception, check your CPU meets minimum requirements: not found
./DirtRally.sh: 15: /home/asusk555/DiRTRally/config/post-run-check.sh: SIGNAL_MESSAGE[9]=SIGKILL(9): Program killed: not found
./DirtRally.sh: 16: /home/asusk555/DiRTRally/config/post-run-check.sh: SIGNAL_MESSAGE[11]=SIGSEGV(11): Segmentation fault: not found
./DirtRally.sh: 17: /home/asusk555/DiRTRally/config/post-run-check.sh: SIGNAL_MESSAGE[13]=SIGPIPE(13): Broken pipe, check networking: not found
./DirtRally.sh: 18: /home/asusk555/DiRTRally/config/post-run-check.sh: SIGNAL_MESSAGE[15]=SIGTERM(15): Program terminated: not found
./DirtRally.sh: 19: /home/asusk555/DiRTRally/config/post-run-check.sh: SIGNAL_MESSAGE[20]=SIGPWR(20): Program received power down signal: not found
./DirtRally.sh: 20: /home/asusk555/DiRTRally/config/post-run-check.sh: SIGNAL_MESSAGE[31]=SIGSYS(31): Bad system call: not found
./DirtRally.sh: 22: /home/asusk555/DiRTRally/config/post-run-check.sh: Bad substitution
Je crois que je ne vais pas insister, surtout que les script sont aussi peut-être foireux.
Si quelqu’un sait ou je peux trouver Dirt Rally 2015 (gratuit sur steam en 2022) je suis preneur (en MP) sinon, je vais lâcher ce projet juste pour quelques heures de jeu par an.
Config :
- Portable ASUS X756, I3 6006, 4GB de DDR4, Graphic HD520, SSD de 128 GB (Z400S MLC), HD de 500 GB
- LM 18.1 XFCE 64