Sorry for this late summary. But it was very hard to get this working. Thanks to people who answer me. In particular, i'm not using binutils. With this configuration, it works: s8 10/01, gcc version 2.95.3, Openldap 2.0.23 Apache 1.3.20: ./configure --prefix=/usr/local/apache --enable-shared=max --enable-module=all \ --disable-module=auth_db PHP-4.2.1: ./configure --with-apxs=/usr/local/apache/bin/apxs --with-ldap=/usr/local The important thing i discover (very late) is to do a make clean (or make distclean) before recompiling. Gerard Henry wrote: > hello, > i have again problems with ldap on solaris 8. > I want to include ldap in php. > I try to recompile php (4.0.2) with ldap, it's okay, i install it, but > when i test with apache, it fails about a symbol not referenced in > libphp4.so. > I downloaded iPlanet LDAP SDK for C, and php-4.2.1, did the same > things, and when i test apache: > > scr-root% /usr/local/apache/bin/apachectl configtest > Syntax error on line 241 of /usr/local/apache/conf/httpd.conf: > Cannot load /usr/local/apache/libexec/libphp4.so into server: ld.so.1: > /usr/local/apache/bin/httpd: fatal: relocation error: file > /usr/local/apache/libexec/libphp4.so: symbol ldap_unbind_s: referenced > symbol not found > > This is my command to configure php: > ./configure --with-mysql=/usr/local/mysql > --with-apxs=/usr/local/apache/bin/apxs --with-xml --enable-versioning > --enable-track-vars --with-ldap=/usr/local/src/ldap > > First, is it possible to compile without iplanet sdk? what's about > solaris native ldap? > Anybody have success with php and ldap? > > TIA > -- Gerard HENRY LATP UMR 6632 _______________________________________________ sunmanagers mailing list sunmanagers@sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagersReceived on Thu Jun 13 08:38:24 2002
This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:42:46 EST