Undefined Symbol: ldap_parse_reference in PHP 4.1.2
| From: | crobinso at fit dot edu | Date: | Wed, 10 Apr 2002 20:47:01 +0000 |
| Subject: | Undefined Symbol: ldap_parse_reference in PHP 4.1.2 | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-6627@lists.php.net to get a copy of this message | ||
Environment:
Solaris 8
gcc 2.95.3
Shell: tcsh
Trying to compile Apache w/ mod_SSL+PHP+LDAP.
cd mod_ssl-2.8.8-1.3.24
./configure --with-apache=../apache_1.3.24
cd apache_1.3.24
./configure --prefix=/opt/software
cd ../php-4.1.2
./configure --with-apache=../apache_1.3.24 --with-openssl --with-ldap
--enable-track-vars
make
make install
cd ../apache_1.3.24
set SSL_BASE=../openssl-0.9.6c; ./configure --prefix=/opt/software
--activate-module=src/modules/php4/libphp4.a --enable-module=ssl
make
It errors on the make for apache.
Error Message:
Undefined first referenced
symbol in file
ldap_parse_reference modules/php4/libphp4.a(ldap.o)
ld: fatal: Symbol referencing errors. No output written to httpd
I am tried the Solaris LDAP libraries and compiled the OpenLDAP
2.0.23 libraries in a different location w/ the compile
option --with-ldap=/opt/software for php. But, make errored on the
same spot and had an extra undefined symbol with ldap_initialize in the
same module.
I compiled OpenLDAP with these options:
./configure --prefix=/opt/software --with-tls --disable-slapd
--disable-slurpd
make depend
make
make install
--
Curtis Robinson
crobinso@fit.edu