From owner-freebsd-questions@FreeBSD.ORG Mon Apr 25 14:19:48 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 223C416A4CE for ; Mon, 25 Apr 2005 14:19:48 +0000 (GMT) Received: from lv.raad.tartu.ee (lv.raad.tartu.ee [194.126.106.110]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2C4B643D62 for ; Mon, 25 Apr 2005 14:19:46 +0000 (GMT) (envelope-from toomas.aas@raad.tartu.ee) Received: Message by Barricade lv.raad.tartu.ee with ESMTP id j3PEJiaA013896; Mon, 25 Apr 2005 17:19:44 +0300 Received: from INFO/SpoolDir by raad.tartu.ee (Mercury 1.48); 25 Apr 05 17:19:44 +0300 Received: from SpoolDir by INFO (Mercury 1.48); 25 Apr 05 17:19:41 +0300 Received: from [192.168.1.2] (192.168.1.2) by raad.tartu.ee (Mercury 1.48) with ESMTP; 25 Apr 05 17:19:38 +0300 Message-ID: <426CFC7A.1070208@raad.tartu.ee> Date: Mon, 25 Apr 2005 17:19:38 +0300 From: Toomas Aas User-Agent: Mozilla Thunderbird 1.0RC1 (Windows/20041201) X-Accept-Language: en-us, en MIME-Version: 1.0 To: questions@freebsd.org, zsqlgate@indexdata.dk Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Subject: Re: zSQLgate fails with 'Undefined symbol "pthread_create"' X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Apr 2005 14:19:48 -0000 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