Hi.

--On 01/09/01 03:18:01 +0000 Armand Verstappen wrote:
> Okay, also not obstructed by any expertise on this subject, so
> possibly  completely wrong:
> > If:
> >      nm /usr/local/openldap/lib/libldap.so.2 | grep ldap_get_errno
> or:
>        nm /usr/local/openldap/lib/liblber.so.2 | grep ldap_get_errno
> > returns:
> > T ldap_get_errno
> > Then that library does contain the missing symbol, but apache does
> not  find it, and Torben's suggestions are correct. I the one of last
> stages  of compilation of an apache module some information is
> stuffed into the  module to tell apache where to look for depency
> libs. If adding  /usr/local/openldap/lib to /etc/ld.so.conf doesn't
> help, you probably  should change the makefile to add the path
Normally this should work perfectly well. You just have to remember to
run ldconfig after changing this file, or it won't work anyway. You can
check if he finds it by running "ldconfig -v | grep ldap", it should
show something like this:
nathan:~# ldconfig -v | grep ldap
        liblber-openldap.so.1 => liblber-openldap.so.1.0.0
        libopenldap.so.1 => libopenldap.so.1.0.0
If it does this, Apache should find this libraries when he launches the
PHP module. If not, you should try rebuilding the module.

Armand: Do you have to reconfigure it? If yes, you should remember to
delete config.cache, or ./configure won't check for new libs.

> /usr/local/openldap/lib too.  Sinfull suggestion: link the ldap
> libraries to the directorie where  libmidgard lives and run ldconfig.
> Apparently apache has no problem  finding that location. (this is
> definitely not the right way to do it,  but hey...)
Hmm, quick & dirty, but it might work too. Though I do not recommend
it. the ld.so.conf approach will have the same effect.


> If that works, you probably should file a bugreport. 


Live long and prosper!
Torben Nehmer

-- ICQ-ID : 14148813 -­- E-Mail : [EMAIL PROTECTED]
WWW    : http://www.nathan-syntronics.de --- http://www.nehmer.net



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to