Trouble on FreeBSD + Apache + Php3 + FreeTDS

Michael Peppler mpeppler at peppler.org
Fri Oct 22 10:04:34 EDT 1999


Brian Bruns writes:
 > 
 > One work around that some people have used for this is to rename dbopen in
 > freetds to tdsdbopen() or something similar in src/dblib/dblib.c and
 > include/sybdb.h and then modify php to call tdsdbopen() instead in
 > functions/sybase.c
 > 
 > If I get time this weekend I'll patch this into freetds and submit the
 > workaround to the PHP people.  Michael, would you be interested in adding
 > a workaround option to sybperl? I'll add something like
 > '--enable-dbm-conflict-fix' to freetds' configure.

OK - yes I'll add something for the next version of sybperl...

Michael

 > 
 > Cheers,
 > 
 > Brian
 > 
 > On Fri, 22 Oct 1999, Prince Cat wrote:
 > 
 > > On 10/21/99, "Michael Peppler <mpeppler at peppler.org>" wrote:
 > > > Could be the libdb vs. libsybdb dbopen() conflict...
 > > yes...it's right...!!
 > > 
 > > I use gdb to trace apache httpd,
 > > and found it dead in apache: src/main/util.c ap_uname2id(), 
 > > this function use getpwnam() to translate username to uid.
 > > In freebsd, getpwnam called dbopen() in libc
 > > so conflict with  libsybdb.
 > > 
 > 
 > 
 > ---
 > You are currently subscribed to freetds as: mpeppler at peppler.org
 > To unsubscribe, forward this message to $subst('Email.Unsub')
 > 

-- 
Michael Peppler         -||-  Data Migrations Inc.
mpeppler at peppler.org    -||-  http://www.mbay.net/~mpeppler
Int. Sybase User Group  -||-  http://www.isug.com
Sybase on Linux mailing list: ase-linux-list at isug.com



More information about the FreeTDS mailing list