Date: Tue, 29 Apr 2003 02:22:50 +0200 From: Philip Paeps <philip@paeps.cx> To: freebsd-ports@freebsd.org Subject: Loads of undefined reference to `pthread_foo` Message-ID: <20030429002250.GM643@juno.home.paeps.cx>
next in thread | raw e-mail | index | archive | help
For some obscure reason, I can't get anything to link properly with libxml2 today. I keep getting errors like: /usr/local/lib/libxml2.so: undefined reference to `pthread_cond_signal' /usr/local/lib/libxml2.so: undefined reference to `pthread_getspecific' /usr/local/lib/libxml2.so: undefined reference to `pthread_equal' /usr/local/lib/libxml2.so: undefined reference to `pthread_once' /usr/local/lib/libxml2.so: undefined reference to `pthread_key_create' /usr/local/lib/libxml2.so: undefined reference to `pthread_mutex_unlock' /usr/local/lib/libxml2.so: undefined reference to `pthread_self' /usr/local/lib/libxml2.so: undefined reference to `pthread_mutex_destroy' /usr/local/lib/libxml2.so: undefined reference to `pthread_mutex_lock' /usr/local/lib/libxml2.so: undefined reference to `pthread_cond_wait' /usr/local/lib/libxml2.so: undefined reference to `pthread_mutex_init' /usr/local/lib/libxml2.so: undefined reference to `pthread_setspecific' I don't know what all changed on the box either, perhaps someone could point me in the right direction towards debugging this, and preferably fixing it :-) Things which were linked with libxml2 (such as PHP) die with errors like: /usr/libexec/ld-elf.so.1: /usr/local/lib/libxml2.so.5: Undefined symbol "pthread_once" This might be a bit thin, but I've not found anything else so far. I managed to get things to work again by simply not linking with libxml2, but in the long run, that obviously doesn't solve the problem. I've already portupgraded -Rf textproc/libxml2 without any sort of success. Thanks for any help. - Philip [who's supposed to fix things others have broken *sigh*] -- Philip Paeps Please don't CC me, I am philip@paeps.cx subscribed to the list. If you are already in a hole, there's no use to continue digging.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030429002250.GM643>