Hi.
--On 01/08/01 15:55:37 -0600 [EMAIL PROTECTED] wrote:
>> I did change some configuration parameters since the last update,
>> including support for SNMP, XML and LDAP support, which weren't there
>> in my last Midgard. But all those extras aren't in use yet, so I
>> don't think the problem lies there.
> > This is tangential to the issue you raised. I noticed that you
> mentioned compiling midgard-php with LDAP support amongst others.
> > What version of LDAP did you compile it with? I've tried
> unsuccessfully to to run Apache with support for openldap-2.0.7 built
> into midgard-php. It compiles, makes and builds, but when I try to
> start Apache I get the following error:
> > undefined symbol: ldap_get_lderrno
> > when Apache tries to load libphp3.so. Once I recompile without
> support for ldap, Apache loads libphp3.so just fine. All my searches
> have turned up no hits for ldap_get_lderrno, from the openldap, php
> and apache mailing lists, which makes me think that this is something
> introduced in midgard-php.
> > Any ideas on how to proceed?
I had a similar error. LDAP did work fine with me, but I had problems
with the SSL SNMP module. He complaind that he didn't found some random
number stuff. The problem seems to be in the very last make command,
where he links everything together. Once I relinked libphp3.so using the last make
command including
$SSLDIR/lib/libssl.a and $SSLDIR/lib/libcrypto.a it did work fine.
I suspect that you have a similar problem. I would check if he
correctly links the LDAP libraries. one possibility to find out which
lib you have to link is using this construct:
$ strings libopenldap.a | grep ldap_get_lderrno
This didn't produce any result with my ldap libs, but I also didn't get
this specific error. I used libopenldap 1.2.11-1, a Debian package.
I only tried this with statically linked libraries, but it _should_
work with dynamically linked ones if you have configured the ldconfig
stuff correctly.
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]