zSQLgate fails with 'Undefined symbol "pthread_create"'

Toomas Aas toomas.aas at raad.tartu.ee
Mon Apr 25 07:19:48 PDT 2005


Hello!

Just for the next guy looking for a solution to this in the archives -

To get zSQLgate working on FreeBSD 4.11, I had to build the net/yaz port 
without threads support. To achieve this, I added '--disable-threads' to 
the port's Makefile.

I'm not sure what causes it, because the yaz port seems to correctly 
pick up the necessary -pthread compiler option. However, when you later 
try to load libyazthread.so.2, you get error messages such as 'Undefined 
symbol "pthread_create"' or 'Undefined symbol "pthread_mutex_lock"'

After adding '--disable-threads' I no longer get these errors and 
zSQLgate seems to start successfully.

-- 
Toomas Aas --------------------------------------------------------
|arvutivõrgu peaspetsialist | head specialist on computer networks|
|Tartu Linnakantselei       | Tartu City Office                   |
----------------------------------------------------- +372 736 1274




More information about the freebsd-questions mailing list