openLDAP1.2.11 + 4.0.4pl1 + Apache 1.3.14 + Sol 7
| From: | John McCoy, Jr. | Date: | Mon, 26 Mar 2001 20:30:18 +0000 |
| Subject: | openLDAP1.2.11 + 4.0.4pl1 + Apache 1.3.14 + Sol 7 | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-2588@lists.php.net to get a copy of this message | ||
I've been struggling with the Undefined Symbol Errors when trying to compile
Apache.
I added LIBS=-lldap to the configure command now I get this:
Undefined first referenced
symbol in file
ber_dup /usr/local/lib/libldap.so
ber_get_int /usr/local/lib/libldap.so
<SNIP>
ber_alloc_t /usr/local/lib/libldap.so
ber_sockbuf_add_io /usr/local/lib/libldap.so
ld: fatal: Symbol referencing errors. No output written to helpers/dummy
collect2: ld returned 1 exit status
LDAP works fine from command line and Windows based tools. PHP does have
IMAP Patch applied for IMP website.
http://www.horde.org/imp/contrib/php-4.0.4pl1-imap-patch.txt
Thanks for any help.
Complete config line:
# SSL_BASE=../openssl-0.9.6 EAPI_MM=../mm-1.1.3
CPPFLAGS=-I/usr/local/include LDFLAGS=-L/usr/local/lib LIBS=-lldap
./configure --prefix=/usr/local/apache --activate-module=src/modules/php4/li
bphp4.a --enable-module=ssl --activate-module=src/modules/perl/libperl.a --e
nable-module=perl
************************
John McCoy, Jr
Central Systems Administrator
Mills College, Oakland, CA
510-430-3321
jmccoy@mills.edu
************************