Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DllNotFoundException: libdl.so, Assimp.Unmanaged #224

Open
Miftahur92 opened this issue Jan 29, 2024 · 3 comments
Open

DllNotFoundException: libdl.so, Assimp.Unmanaged #224

Miftahur92 opened this issue Jan 29, 2024 · 3 comments

Comments

@Miftahur92
Copy link

I am facing problem to use the URDF-importer. The following error only when I only use URDF importer.

DllNotFoundException: libdl.so assembly: type: member:(null)
Assimp.Unmanaged.UnmanagedLibrary+UnmanagedLinuxLibraryImplementation.NativeLoadLibrary (System.String path) (at :0)
Assimp.Unmanaged.UnmanagedLibrary+UnmanagedLibraryImplementation.LoadLibrary (System.String path) (at :0)
Assimp.Unmanaged.UnmanagedLibrary.LoadLibrary (System.String libPath) (at :0)
Assimp.Unmanaged.UnmanagedLibrary.LoadLibrary () (at :0)
Assimp.AssimpUnity.InitializePlugin () (at Library/PackageCache/com.unity.robotics.urdf-importer@90f353e435/Runtime/UnityMeshImporter/Plugins/AssimpNet/AssimpUnity.cs:147)

Environment (please complete the following information, where applicable):

  • Unity 2021.3.25f1
  • Unity machine OS - Ubuntu 22.04
  • ROS2 Humble
  • URDF-importer version - 0.5.2
  • ROS-TCP-connector - 0.7.0
  • Unity Robotics Visualizations - 0.7.0

apt-cache search gave me following results:
assimp-testmodels - assimp 3D model import library (testdata)
assimp-utils - 3D model import library (utilities)
gem-plugin-assimp - Graphics Environment for Multimedia - Assimp support
libapache2-authcassimple-perl - Apache2 module to authenticate trough a CAS server
libassimp-dev - 3D model import library (development)
libassimp-doc - 3D model import library (documentation)
libassimp5 - 3D model import library
python3-pyassimp - 3D model import library (Python3 bindings)
qt3d-assimpsceneimport-plugin - Qt 3D GL Assimp scene import plugin
qt6-3d-assimpsceneimport-plugin - Qt 6 3D GL Assimp Scene Import plugin
qt6-quick3d-assetimporters-plugin - Qt 6 Quick 3D Assimp Import plugin
ros-humble-rviz-assimp-vendor - Wrapper around assimp, providing nothing but a dependency on assimp, on some systems.
ros-iron-rviz-assimp-vendor - Wrapper around assimp, providing nothing but a dependency on assimp, on some systems.
ros-rolling-rviz-assimp-vendor - Wrapper around assimp, providing nothing but a dependency on assimp, on some systems.

@WadeNotCode
Copy link

Bro, have u ever found the solution?

@Miftahur92
Copy link
Author

Bro, have u ever found the solution?

Nope. I think the problem is with Ubuntu. I am using the same setup with WSL2, and it is working fine.

@Cryoscopic-E
Copy link

Problem is with Assimp library not using libdl.so.2 that is now in newest Debian, Ubuntu, etc. I got tired of the problem and fixed with symbolic linking libdl.so.2 as sudo ln -s /usr/lib/libdl.so.2 /usr/lib/libdl.so. Although is no recommended messing with /usr/lib but really can't be bothered to wait for a fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants