You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Jason Lixfeld <ja...@lixfeld.ca> on 2004/03/01 10:32:14 UTC

[users@httpd] FreeBSD 5.2.1-RELEASE + AMD/64 + Apache 2.0.48 + mod_auth_ldap + openldap-2.1.27-client = undefined symbol on apachectl configtest

Ok, here's the order of operations:

1) Installed openldap21-server from FreeBSD ports.  Version is 
2.1.27-RELEASE.	Port needed WITHOUT_BDB=yes due to AMD64 lack of 
mutexes support for BDB.  -server also installed -client which is 
required for apache2 below.
2) Installed apache2 from FreeBSD ports.  Version is 2.0.48_3.  Port 
needed WITH_LDAP=yes to compile with openldap support.
3) I couldn't find any specific configuration information for ldap on 
apache.org so after googling, I added a bunch of stuff to httpd.conf to 
try to activate the module:

su-2.05b# cat /usr/local/etc/apache2/httpd.conf | grep -n ldap
278:#LoadModule ldap_auth_module libexec/apache2/mod_auth_ldap.so
279:LoadModule auth_ldap_module libexec/apache2/mod_auth_ldap.so
280:#LoadModule ldap_module libexec/apache2/mod_ldap.so
282:#AddModule auth_ldap.c
1074:#LDAP_Server ldap.fccc.edu
su-2.05b#

4) each time I try to run apachectl configtest:
		
su-2.05b# apachectl configtest
Syntax error on line 279 of /usr/local/etc/apache2/httpd.conf:
Cannot load /usr/local/libexec/apache2/mod_auth_ldap.so into server: 
/usr/local/libexec/apache2/mod_auth_ldap.so: Undefined symbol 
"util_ldap_connection_close"
su-2.05b#

su-2.05b# file /usr/local/libexec/apache2/*ldap*
/usr/local/libexec/apache2/mod_auth_ldap.so: ELF 64-bit LSB shared 
object, AMD x86-64, version 1 (FreeBSD), not stripped
/usr/local/libexec/apache2/mod_ldap.so:      ELF 64-bit LSB shared 
object, AMD x86-64, version 1 (FreeBSD), not stripped
su-2.05b#

Anyone have any ideas?  I'm sure it's not a configuration problem, 
rather a compile problem.  I have a few odd little things happen on 
this AMD64 box so it wouldn't surprise me if apache was another one of 
those "odd" little things.


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org