Ldap php, apache on solaris 8

From: Gerard Henry (Gerard.Henry@cmi.univ-mrs.fr)
Date: Wed Jun 05 2002 - 10:21:27 EDT


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
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers


This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:24:25 EDT