|
OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD. |
|
Thread Tools | Display Modes |
|
|||
missing package(s) error
Code:
CMakeFiles/sdcv.dir/src/readline.cpp.o:(.data.rel.ro.local+0x30): undefined reference to `_ZL22__gthrw_pthread_cancelP7pthread' /usr/lib/libreadline.so.4.0: undefined reference to `tgetnum' /usr/lib/libreadline.so.4.0: undefined reference to `tgoto' /usr/lib/libreadline.so.4.0: undefined reference to `tgetflag' /usr/lib/libreadline.so.4.0: undefined reference to `tputs' /usr/lib/libreadline.so.4.0: undefined reference to `tgetent' /usr/lib/libreadline.so.4.0: undefined reference to `tgetstr' collect2: error: ld returned 1 exit status Regards! |
|
|||
During link phase, the list of functions encountered cannot be resolved by the linker. I suspect that some library is expected, but is not found.
|
|
|||
readline must be linked with ncurses.
On the actual compiler command that gave the error, you'll see Code:
-lreadline Code:
-lreadline -lncurses |
|
|||
Quote:
Code:
CMakeFiles/sdcv.dir/src/readline.cpp.o:(.data.rel.ro.local+0x30): undefined reference to `_ZL22__gthrw_pthread_cancelP7pthread' Code:
$ find /usr/lib -name "libpthread*" /usr/lib/libpthread.so.24.0 /usr/lib/libpthread.a /usr/lib/libpthread_p.a $nm -g /usr/lib/libpthread.a | grep -i pthread_cancel 00000a60 T pthread_cancel Last edited by sw2wolf; 18th November 2017 at 12:20 AM. |
|
|||
|
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
error: [drm:pid60567:intel_uncore_check_errors] *ERROR* Unclaimed register before int | livestradamus | OpenBSD Installation and Upgrading | 11 | 4th November 2017 12:35 PM |
shc unistd.h:239: error: syntax error before '&' token | laraaj | OpenBSD General | 3 | 11th September 2010 07:21 AM |
faac-1.28 binary package missing | IdOp | NetBSD Package System (pkgsrc) | 0 | 20th August 2010 12:04 AM |
Package install error. | delboy | FreeBSD Ports and Packages | 10 | 25th March 2009 05:54 PM |
"No package available in the PKG_PATH" error | Nk2Network | OpenBSD Packages and Ports | 19 | 12th January 2009 09:22 PM |