-
Notifications
You must be signed in to change notification settings - Fork 28
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
undefined reference to symbol 'dlclose@@GLIBC_2.2.5' #105
Comments
Seems openssl development headers aren't provided by your platform. Install openssl-dev and it should work I guess. |
Hi janbar... no luck openssl-dev do not exist on Ubuntu 18004 .. it is libssl-dev tried to remove it and reinstall
apt remove libssl-dev pt install libssl-dev performed a new built
but problem still persists
can it be linked to the erroe reported in CMakeError about pthread
|
interesting when i add this flag : -DCMAKE_HAVE_LIBC_PTHREAD=False
and in CMakeCache //Dependencies for the target seems cross link to -lpthread and not lpthreads ... typo error maybe ? |
when i set : -DCMAKE_HAVE_LIBC_PTHREAD=True error changed :
|
found somethin strange in generated CMakeCache.txt
it souldnt be -lpthread instead -pthread ? i have no clue how to fix it in CMakeList to have a try |
I think your system contains invalid libraries (probably stored in /usr/local/lib). You should initiate a cleanup to succeeded a build. About Theads the cmake package name is called "Threads", so this isn't an error or a typo, and the linker arg contains the name of the libs existting in your system (could be thread (posix) , or Threads (windows) or what ever your system has). |
thanks janbar for your comments... I will try to build a new Bionic Ubuntu in the day to check.... |
thanks Janbar, its build with a minimal Bionic LXC container |
CMakeError.log
CMakeOutput.log
Hi Noson Team,
try to build Noson for Qnap NAS HDStation (Ubuntu 1804)
after fight with cmake that it takes my QT built in my custom prefix...
it refuses to build noson-cli .. failing with undefined reference to symbol 'dlclose@@GLIBC_2.2.5'
any idea how to fix it ?
/usr/bin/ld: /usr/local/lib/libcrypto.a(dso_dlfcn.o): undefined reference to symbol 'dlclose@@GLIBC_2.2.5'
//lib/x86_64-linux-gnu/libdl.so.2: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
on my search look like a -ldl is missing somewhere...
here is my built : (QT 5.13 is compiled in /opt/Noson)
openssl version
OpenSSL 1.1.1 11 Sep 2018
The text was updated successfully, but these errors were encountered: