On Wed, Jan 10, 2001 at 09:22:10PM +0100, Stig Venaas wrote:
> On Wed, Jan 10, 2001 at 04:51:51PM +0100, Uwe Steinmann wrote:
> > Then I fired up gdb, set a breakpoint right before ldap_open()
> > in php_if_ldap_connect() and run httpd with -X -f <conf.file>.
> > Steping into ldap_open() didn't work, though openldap was compiled
> > with --enable-debug. BTW, listing the openldap file in which
> > ldap_open() is defined works. Setting a breakpoint in ldap_open()
> > didn't have any effect which supports my theory that ldap_open()
> > isn't called for some mystical reason.
>
> My first guess would be that you have some other library with
> ldap_open(), one such might be Oracle. If any libraries are
> loaded at runtime you can see it using strace. It could be that
That was the reason. libclntsh.so from Oracle was loaded before
libldap.so. By simply switching the two it works. I wonder if
that is the way to fix such problems?
Thanks very much.
> Well, just some thoughts, I don't know really.
But good enough to solve my problems :-)
Uwe
--
[EMAIL PROTECTED]
Tel: +2331 987 4528 Fax: +2331 987 375
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]