From owner-freebsd-questions Tue Aug 28 9: 2:23 2001 Delivered-To: freebsd-questions@freebsd.org Received: from web13304.mail.yahoo.com (web13304.mail.yahoo.com [216.136.175.40]) by hub.freebsd.org (Postfix) with SMTP id 4B7EE37B409 for ; Tue, 28 Aug 2001 09:02:18 -0700 (PDT) (envelope-from sumirati@yahoo.de) Message-ID: <20010828160217.56274.qmail@web13304.mail.yahoo.com> Received: from [193.174.9.99] by web13304.mail.yahoo.com via HTTP; Tue, 28 Aug 2001 18:02:17 CEST Date: Tue, 28 Aug 2001 18:02:17 +0200 (CEST) From: =?iso-8859-1?q?m=20p?= Subject: Fwd: RE: Undefined symbol To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Forwarded to the list. --- Jonathan Hilgeman schrieb: > Von: Jonathan Hilgeman > An: "'m p'" > Betreff: RE: Undefined symbol > Datum: Tue, 28 Aug 2001 07:43:41 -0700 > > I'm not sure if it was originally Linux, but I'm using the MyODBC 2.50.34 > port on FreeBSD 4.2. I'm trying to use ODBC functions with PHP. I originally > got that pthreads message with the unixODBC driver whenever I tried to run a > command. Then I uninstalled unixODBC and installed iODBC instead, and the > sample command-line programs run fine! However, the PHP is still > experiencing a problem. It recognizes the drivers, but keeps getting that > message. > > How could I update these POSIX threads, and what is the filename of the > library? Maybe PHP just cannot find it in its path. I find it odd that one > sample application would work and be able to use the libmyodbc.so driver > while another application would get an error. It makes me think there is > simply a difference in the paths being used or something... > > - Jonathan > > -----Original Message----- > From: m p [mailto:sumirati@yahoo.de] > Sent: Tuesday, August 28, 2001 2:21 AM > To: JHilgeman@ecx.com > Cc: freebsd-questions@FreeBSD.ORG > Subject: Re: Undefined symbol > > > > I was trying to configure ODBC on my FreeBSD system, but whenever I try to > > connect to a Data source with an ODBC application, I get this system > error: > > > > /usr/libexec/ld-elf.so.1: /usr/local/lib/libmyodbc.so: Undefined symbol > > "pthread_mutex_init" > > > > Does anyone know what this means, and what I have to do in order to get > rid > > of it? > > > > - Jonathan > > > > Hi Jonathan, > > i don't know exaktly what it means, but: > > pthreads stands for POSIX threads. > Is your ODBC app originally derived from Linux or another Unix? If it is > originally written for Linux try to add some Linux-compatibility libaries > for > compiling. > (Every Unix i came across implemted the POSIX threads slightly different.) > > For others to help please add some information: > > Your FreeBSD version. > The name of the applikation / libary you use to do ODBC. (MyODBC from the > ports?) > And perhaps some more information about the error. There have to be some. > > Hope that helps > > Marc > > > __________________________________________________________________ > Do You Yahoo!? > Gesendet von Yahoo! Mail - http://mail.yahoo.de __________________________________________________________________ Do You Yahoo!? Gesendet von Yahoo! Mail - http://mail.yahoo.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message