Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Apr 2005 17:19:38 +0300
From:      Toomas Aas <toomas.aas@raad.tartu.ee>
To:        questions@freebsd.org, zsqlgate@indexdata.dk
Subject:   Re: zSQLgate fails with 'Undefined symbol "pthread_create"'
Message-ID:  <426CFC7A.1070208@raad.tartu.ee>

next in thread | raw e-mail | index | archive | help
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=20
pick up the necessary -pthread compiler option. However, when you later=20
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=20
zSQLgate seems to start successfully.

--=20
Toomas Aas --------------------------------------------------------
|arvutiv=F5rgu peaspetsialist | head specialist on computer networks|
|Tartu Linnakantselei       | Tartu City Office                   |
----------------------------------------------------- +372 736 1274




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?426CFC7A.1070208>