Building error pthread problem
Opened this issue · 1 comments
muhammetfaik commented
I run make
command in build directory but I have this error:
[ 91%] Building CXX object CMakeFiles/ktelephone.dir/src/telephony/uamanager.cpp.o
[ 95%] Building CXX object CMakeFiles/ktelephone.dir/qrc_resources.cpp.o
[100%] Linking CXX executable ktelephone
/usr/bin/ld: /usr/local/lib/libpj-x86_64-unknown-linux-gnu.a(os_core_unix.o): undefined reference to symbol 'pthread_rwlock_destroy@@GLIBC_2.2.5'
/usr/bin/ld: /lib/x86_64-linux-gnu/libpthread.so.0: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/ktelephone.dir/build.make:316: ktelephone] Error 1
make[1]: *** [CMakeFiles/Makefile2:77: CMakeFiles/ktelephone.dir/all] Error 2
make: *** [Makefile:130: all] Error 2
What it is problem ?
StefanYohansson commented
hey, what's your OS and how do you installed/compiled the libpj?
it seems like a problem on libpjproject