Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Aug 2001 18:02:17 +0200 (CEST)
From:      =?iso-8859-1?q?m=20p?= <sumirati@yahoo.de>
To:        freebsd-questions@freebsd.org
Subject:   Fwd: RE: Undefined symbol
Message-ID:  <20010828160217.56274.qmail@web13304.mail.yahoo.com>

next in thread | raw e-mail | index | archive | help
Forwarded to the list.


 --- Jonathan Hilgeman <JHilgeman@ecx.com> schrieb: > Von: Jonathan Hilgeman
<JHilgeman@ecx.com>
> An: "'m p'" <sumirati@yahoo.de>
> 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




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