On Mon, Feb 25, 2002 at 01:33:15PM -0500, J. Rashaad Jackson wrote : 
> I am attempting to compile PHP v.4.1.0 with support for Openldap v.1.2.12.
> Below is my configure line:
> 
>   ./configure \
>   --with-apxs=/usr/local/apache/bin/apxs \
>   --with-openssl=/usr/local/ssl \
>   --with-imap-ssl=/usr/local/ssl \
>   --with-imap=/usr/local/src/imap-2000c \
>   --with-ldap=/usr/local/openldap-1.2.12um7 \
>   --with-mcrypt \
>   --with-mm \
>   --with-mysql \
>   --with-xml \
>   --with-zlib \
>   --with-gettext \
>   --enable-inline-optimization \
>   --enable-track-vars
> 
> All the individual piece configure, make, and install with nary an error.
> But when I move to fire up the server, I get:
> 
>   Cannot load /usr/local/apache/libexec/libphp4.so into server:
>   /usr/local/apache/libexec/libphp4.so: undefined symbol: ldap_value_free
>   /usr/local/apache/bin/apachectl restart: httpd could not be started
> 
> I know this has been covered, but the only solution I found by searching was
> to add the lib directory to my /etc/ld.so.conf and run ldconfig.  I tried
> that and it's not working.  Below is my /etc/ld.so.conf file:
> 
>   /usr/local/openldap-1.2.12um7/lib
>   /usr/local/lib
>   /usr/lib
>   /lib
> 
> Any help would be GREATLY appreciated.  I'm at the limits of my
> understanding with this.  Thanks!

    Have you double checked your system that no stale libraries
    are handing around? Try running 'ldd ....libphp4.so' and see
    if the proper ldap libraries are used.

    If this still not works, try build ldap as a module for a
    start and see if this works.

-- 
Please always Cc to me when replying to me on the lists.
GnuPG Key: http://guru.josefine.at/~mfischer/C2272BD0.asc

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to