[Auth_ldap] error on apachectl start after compiling auth_ldap-1.6.0 with ssl support

Rick Muroski rmuroski at hytecrepair.com
Thu Sep 22 13:12:56 PDT 2005


I have setup an OpenBSD-Postfix-MySQL-DSPAM-Apache server. I need to be 
able to login to DSPAM's cgi interface via ldap with ssl.

I am using Apache 1.3 that is incorporated into OpenBSD 3.7. I had ldap 
authentication working via normal ldap, but I want to use ldaps so that 
I am not sending clear text passwords around.

I downloaded auth_ldap-1.6.0 and the Sun ONE Directory SDK for C 5.08 
(which I am assuming is used in place of the Netscape SDK, since I could 
not find a Netscape SDK download that did not bring me back to the 
Mozilla SDK without ssl support.)

I copied the contents of the SDK's include directory into: 
/usr/lib/apache/include
and
I copied the contents of the SDK's lib directory into: 
/usr/lib/apache/modules

Here is a copy of my configuration file for auth_ldap-1.6.0:

#!/bin/sh

./configure \
--with-apxs=/usr/sbin \
--with-ldap-sdk=other \
--with-sdk-headers=/usr/lib/apache/include \
--with-sdk-libs=/usr/lib/apache/modules \
--with-ssl

I ran this configure script and everything seems fine.
I ran make and everything seems fine.
I ran make install and everything seems fine.

When I try to start Apache again with apachectl start this is what I get 
back:

$ sudo apachectl start
/usr/sbin/httpd:/usr/lib/apache/modules/auth_ldap.so: undefined symbol 
'ldap_unbind_s'
/usr/sbin/httpd: /usr/lib/apache/modules/auth_ldap.so: can't resolve 
reference 'ldap_unbind_s'
/usr/sbin/httpd:/usr/lib/apache/modules/auth_ldap.so: undefined symbol 
'ldap_init'
/usr/sbin/httpd: /usr/lib/apache/modules/auth_ldap.so: can't resolve 
reference 'ldap_init'
/usr/sbin/httpd:/usr/lib/apache/modules/auth_ldap.so: undefined symbol 
'ldap_set_option'
/usr/sbin/httpd: /usr/lib/apache/modules/auth_ldap.so: can't resolve 
reference 'ldap_set_option'
/usr/sbin/httpd:/usr/lib/apache/modules/auth_ldap.so: undefined symbol 
'ldap_set_option'
/usr/sbin/httpd: /usr/lib/apache/modules/auth_ldap.so: can't resolve 
reference 'ldap_set_option'
/usr/sbin/httpd:/usr/lib/apache/modules/auth_ldap.so: undefined symbol 
'ldap_simple_bind_s'
/usr/sbin/httpd: /usr/lib/apache/modules/auth_ldap.so: can't resolve 
reference 'ldap_simple_bind_s'
/usr/sbin/httpd:/usr/lib/apache/modules/auth_ldap.so: undefined symbol 
'ldap_simple_bind_s'
/usr/sbin/httpd: /usr/lib/apache/modules/auth_ldap.so: can't resolve 
reference 'ldap_simple_bind_s'
/usr/sbin/httpd:/usr/lib/apache/modules/auth_ldap.so: undefined symbol 
'ldap_err2string'
/usr/sbin/httpd: /usr/lib/apache/modules/auth_ldap.so: can't resolve 
reference 'ldap_err2string'
/usr/sbin/httpd:/usr/lib/apache/modules/auth_ldap.so: undefined symbol 
'ldap_err2string'
/usr/sbin/httpd: /usr/lib/apache/modules/auth_ldap.so: can't resolve 
reference 'ldap_err2string'
/usr/sbin/httpd:/usr/lib/apache/modules/auth_ldap.so: undefined symbol 
'ldap_err2string'
/usr/sbin/httpd: /usr/lib/apache/modules/auth_ldap.so: can't resolve 
reference 'ldap_err2string'
/usr/sbin/httpd:/usr/lib/apache/modules/auth_ldap.so: undefined symbol 
'ldap_err2string'
/usr/sbin/httpd: /usr/lib/apache/modules/auth_ldap.so: can't resolve 
reference 'ldap_err2string'
/usr/sbin/httpd:/usr/lib/apache/modules/auth_ldap.so: undefined symbol 
'ldap_err2string'
/usr/sbin/httpd: /usr/lib/apache/modules/auth_ldap.so: can't resolve 
reference 'ldap_err2string'
/usr/sbin/httpd:/usr/lib/apache/modules/auth_ldap.so: undefined symbol 
'ldap_err2string'
/usr/sbin/httpd: /usr/lib/apache/modules/auth_ldap.so: can't resolve 
reference 'ldap_err2string'
/usr/sbin/httpd:/usr/lib/apache/modules/auth_ldap.so: undefined symbol 
'ldap_err2string'
/usr/sbin/httpd: /usr/lib/apache/modules/auth_ldap.so: can't resolve 
reference 'ldap_err2string'
/usr/sbin/httpd:/usr/lib/apache/modules/auth_ldap.so: undefined symbol 
'ldapssl_install_routines'
/usr/sbin/httpd: /usr/lib/apache/modules/auth_ldap.so: can't resolve 
reference 'ldapssl_install_routines'
/usr/sbin/httpd:/usr/lib/apache/modules/auth_ldap.so: undefined symbol 
'ldap_search_ext_s'
/usr/sbin/httpd: /usr/lib/apache/modules/auth_ldap.so: can't resolve 
reference 'ldap_search_ext_s'
/usr/sbin/httpd:/usr/lib/apache/modules/auth_ldap.so: undefined symbol 
'ldap_search_ext_s'
/usr/sbin/httpd: /usr/lib/apache/modules/auth_ldap.so: can't resolve 
reference 'ldap_search_ext_s'
/usr/sbin/httpd:/usr/lib/apache/modules/auth_ldap.so: undefined symbol 
'ldap_count_entries'
/usr/sbin/httpd: /usr/lib/apache/modules/auth_ldap.so: can't resolve 
reference 'ldap_count_entries'
/usr/sbin/httpd:/usr/lib/apache/modules/auth_ldap.so: undefined symbol 
'ldap_first_entry'
/usr/sbin/httpd: /usr/lib/apache/modules/auth_ldap.so: can't resolve 
reference 'ldap_first_entry'
/usr/sbin/httpd:/usr/lib/apache/modules/auth_ldap.so: undefined symbol 
'ldap_first_entry'
/usr/sbin/httpd: /usr/lib/apache/modules/auth_ldap.so: can't resolve 
reference 'ldap_first_entry'
/usr/sbin/httpd:/usr/lib/apache/modules/auth_ldap.so: undefined symbol 
'ldap_get_dn'
/usr/sbin/httpd: /usr/lib/apache/modules/auth_ldap.so: can't resolve 
reference 'ldap_get_dn'
/usr/sbin/httpd:/usr/lib/apache/modules/auth_ldap.so: undefined symbol 
'ldap_get_dn'
/usr/sbin/httpd: /usr/lib/apache/modules/auth_ldap.so: can't resolve 
reference 'ldap_get_dn'
/usr/sbin/httpd:/usr/lib/apache/modules/auth_ldap.so: undefined symbol 
'ldap_memfree'
/usr/sbin/httpd: /usr/lib/apache/modules/auth_ldap.so: can't resolve 
reference 'ldap_memfree'
/usr/sbin/httpd:/usr/lib/apache/modules/auth_ldap.so: undefined symbol 
'ldap_memfree'
/usr/sbin/httpd: /usr/lib/apache/modules/auth_ldap.so: can't resolve 
reference 'ldap_memfree'
/usr/sbin/httpd:/usr/lib/apache/modules/auth_ldap.so: undefined symbol 
'ldap_msgfree'
/usr/sbin/httpd: /usr/lib/apache/modules/auth_ldap.so: can't resolve 
reference 'ldap_msgfree'
/usr/sbin/httpd:/usr/lib/apache/modules/auth_ldap.so: undefined symbol 
'ldap_msgfree'
/usr/sbin/httpd: /usr/lib/apache/modules/auth_ldap.so: can't resolve 
reference 'ldap_msgfree'
/usr/sbin/httpd:/usr/lib/apache/modules/auth_ldap.so: undefined symbol 
'ldap_msgfree'
/usr/sbin/httpd: /usr/lib/apache/modules/auth_ldap.so: can't resolve 
reference 'ldap_msgfree'
/usr/sbin/httpd:/usr/lib/apache/modules/auth_ldap.so: undefined symbol 
'ldap_msgfree'
/usr/sbin/httpd: /usr/lib/apache/modules/auth_ldap.so: can't resolve 
reference 'ldap_msgfree'
/usr/sbin/httpd:/usr/lib/apache/modules/auth_ldap.so: undefined symbol 
'ldap_url_parse'
/usr/sbin/httpd: /usr/lib/apache/modules/auth_ldap.so: can't resolve 
reference 'ldap_url_parse'
/usr/sbin/httpd:/usr/lib/apache/modules/auth_ldap.so: undefined symbol 
'ldap_free_urldesc'
/usr/sbin/httpd: /usr/lib/apache/modules/auth_ldap.so: can't resolve 
reference 'ldap_free_urldesc'
/usr/sbin/httpd:/usr/lib/apache/modules/auth_ldap.so: undefined symbol 
'ldapssl_client_init'
/usr/sbin/httpd: /usr/lib/apache/modules/auth_ldap.so: can't resolve 
reference 'ldapssl_client_init'
/usr/sbin/httpd:/usr/lib/apache/modules/auth_ldap.so: undefined symbol 
'ldap_compare_s'
/usr/sbin/httpd: /usr/lib/apache/modules/auth_ldap.so: can't resolve 
reference 'ldap_compare_s'
[Thu Sep 22 16:07:54 2005] [warn] Loaded DSO 
/usr/lib/apache/modules/auth_ldap.so uses plain Apache 1.3 API, this 
module might crash under EAPI! (please recompile it with -DEAPI)
Illegal instruction (core dumped)
/usr/sbin/apachectl start: httpd could not be started

Any help would be extremely appreciated.

-Rick
-- 

Rick T. Muroski
Assistant System Administrator
 
*Hytec Dealer Services, Inc.
*/Industry Leader in circuit board repair since 1981/ 
3600 Vineland Road Suite 121
Orlando, FL  32811
*800-883-1001 extension 3032
*407-297-1001
407-297-4310 Fax
*http://www.hytecrepair.com <http://www.hytecrepair.com/>*

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.rudedog.org/pipermail/auth_ldap/attachments/20050922/4955cfe4/attachment.htm 


More information about the Auth_ldap mailing list