Impossible d’exécuter correctement un fichier .sh
Posté : lun. 24 juin 2024 10:25
Bonjour la compagnie,
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 :
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)
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 :
Code : Tout sélectionner
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
(Pour ceux qui ont compris ce que je cherche à lancer, je n’ai pas le choix, c’est impossible à trouver officiellement car trop vieux)