-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
missing link to libdl #1084
Comments
I had this issue last week, tried a bunch of things but ended up compiling fine after reboot. |
Looking online informed me that the linker was missing some linked libraries on the system.
Using make -verbose showed that make was not adding these libraries, so CMake made a mistake somewhere during configuration. Some info here So what I needed to do was add -ldl and -lX11 to the end of the link process. Instead of modifying the CMakeLists.txt file, I found a hacky way to do it on the command line. I fixed it by adding this parameter at the end of CMAKE: Compiles fine and runs well. |
@yxlao do you have anything to say about this building issue? |
From the error message, |
Hi, I am trying to build Open3D v0.7.0 from source.
For whatever reason I am getting a linking error:
Steps to reproduce:
I suspect either the unusual location for the library -
/usr/lib/x86_64-linux-gnu/libdl.so
, or some kind of problem with cmake files (sadly I am no good with cmake so no idea what to look for).The text was updated successfully, but these errors were encountered: