pátek 9. srpna 2024

ansys 2024 "error while loading shared libraries: libXp.so.6: cannot open shared object file" (Debian 12 Bookworm)

ANSYS 2024R1, R2 does not start after installation due to missing libraries:

error while loading shared libraries: libXp.so.6: cannot open shared object file:

actually, the library is present in the installed tree

/ansys_inc/v242/ansys/syslib/ubuntu/libXp.so.6.2.0 

 

The ANSYS startup script anssh.ini adds the correct path to the LD_LIBRARY_PATH only when it detects Ubuntu OS. The check is done by 

grep Ubuntu /etc/os-release

So that it is sufficient to add a line to that file (yes, it is a dirty hack)

echo '# fake id to fool Ansys: Ubuntu' >> /etc/os-release

Žádné komentáře:

Okomentovat