Trouble on FreeBSD + Apache + Php3 + FreeTDS
Brian Bruns
camber at umcc.ais.org
Fri Oct 22 08:13:42 EDT 1999
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.
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.
>
More information about the FreeTDS
mailing list