Hi, I am trying to compile PHP with LDAP support via the Sun ONE Directory Server. I am running into a problem where some functions aren't being found in the include or shared libraries. Here's my configure command:
export LD_LIBRARY_PATH="/usr/lib:/usr/local/nss-3.8/lib:/usr/local/nspr-4.3/lib:/us r/local/mysql/lib:/usr/local/lib/sparcv9:/data/sunone_php/servers/lib:/data/ sunone_php/servers/lib/sasl" ./configure --with-mysql=/usr/local/mysql \ --with-nsapi=/data/sunone_php/webservers \ --enable-libgcc \ --with-zlib-dir=/usr/local \ --with-openssl=/usr/local/ssl \ --with-ldap=/data/sunone_php/servers The configure command completes successfully with no errors. The make however, fails with: Undefined first referenced symbol in file sasl_client_step /data/sunone_php/servers/lib/libldap50.so sasl_encode /data/sunone_php/servers/lib/libldap50.so sasl_getprop /data/sunone_php/servers/lib/libldap50.so sasl_setprop /data/sunone_php/servers/lib/libldap50.so sasl_decode /data/sunone_php/servers/lib/libldap50.so sasl_client_new /data/sunone_php/servers/lib/libldap50.so sasl_client_init /data/sunone_php/servers/lib/libldap50.so sasl_set_alloc /data/sunone_php/servers/lib/libldap50.so sasl_dispose /data/sunone_php/servers/lib/libldap50.so sasl_client_start /data/sunone_php/servers/lib/libldap50.so ld: fatal: Symbol referencing errors. No output written to sapi/cli/php collect2: ld returned 1 exit status *** Error code 1 make: Fatal error: Command failed for target `sapi/cli/php' I added /data/sunone_php/servers/lib/sasl to the library path in the hopes that it would find the functions there, but still no dice. I've also tried compiling my own copy of sasl and pointing to it, but I'm not sure which version to use and that didn't work either. If I configure without LDAP, everything works fine. I desparately need to get this going as we aren't going to be able to use PHP without LDAP support and we have deadlines approaching quickly. Any help or ideas would be greatly appreciated. Thanks, Cameron -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php