LDAP + PHP = referenced symbol not found
| From: | Benji Spencer | Date: | Tue, 20 Aug 2002 18:08:00 +0000 |
| Subject: | LDAP + PHP = referenced symbol not found | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-113370@lists.php.net to get a copy of this message | ||
I am attempting to compile PHP with LDAP (again). Our current production server has LDAP enabled, and works fine. However, I needed to recompile PHP to add additional functionality. Now I can't seem to get things to work.
PHP 4.0.6
Netscape LDAP SDK 4.0
Solaris 2.8
The compile process goes fine when I use
./configure --prefix=/usr/local/apache/localhost --with-apxs=/usr/local/apache/localhost/bin/apxs --with-ldap=/usr/local/netscape
however, when I try to start Apache, I get
Syntax error on line 207 of /usr/local/apache/localhost/conf/httpd.conf:
Cannot load /usr/local/apache/localhost/libexec/libphp4.so into server: ld.so.1: /usr/local/apache/localhost/bin/httpd: fatal: relocation error: file /usr/local/apache/localhost/libexec/libphp4.so: symbol ldap_parse_reference: referenced symbol not found
./apachectl start: httpd could not be started
Typically modifying the LD_LIBRARY_PATH to include the lib dir (in this case /usr/local/netscape/lib) at the top of the apachectl file. This doesn't seem to work this time. I have set the LD_LIBRARY_PATH to "/usr/local/netscape/lib:/usr/local/lib:/usr/lib" which would normally take care of this problem....but this time it doesn't.
Anyone have any idea while it can not find that symbol, despite telling it where it should look via the LD_LIBRARY_PATH
benji
---
Ben Spencer
Web Support
bspencer@moody.edu
x 2288