You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On modern Linux distros, the dynamic loading of libraries is handled by /usr/lib64/libdl.so.2. AssimpNet, the .NET wrapper for AssImp, is rather old and still has the binary's name "libdl.so" hardcoded (see here).
This leads to the following exception at start-up:
System.DllNotFoundException: Unable to load shared library 'libdl.so' or one of its dependencies. In order to help diagnose loading problems, consider setting the LD_DEBUG environment variable: liblibdl.so: cannot open shared object file: No such file or directory
The text was updated successfully, but these errors were encountered:
jskripsky
changed the title
Used nuget package AssimpNet on Linux looks for libdl.so instead of libdl.so.2
Referenced nuget package AssimpNet on Linux looks for libdl.so instead of libdl.so.2Aug 26, 2024
On modern Linux distros, the dynamic loading of libraries is handled by
/usr/lib64/libdl.so.2
. AssimpNet, the .NET wrapper for AssImp, is rather old and still has the binary's name "libdl.so" hardcoded (see here).This leads to the following exception at start-up:
To work around the problem, just create a new symlink
libdb.so
pointing tolibdb.so.2
as suggested here:https://unix.stackexchange.com/questions/700097/unable-to-load-shared-library-libdl-so-or-one-of-its-dependencies
The text was updated successfully, but these errors were encountered: