[Auth_ldap] auth_ldap on HPUX

Aaron Smith Aaron.Smith at kzoo.edu
Thu Nov 9 13:11:11 PST 2006


Well, I tracked this down to the fact that the ldap libraries weren't
being linked properly at compile time.  Not sure what exactly happened,
but I ended up compiling a separate version of OpenLdap and then
compiling auth_ldap against THAT installation and it worked fine.

 

--------------------------------------------------------------------

Aaron Smith                Aaron.Smith at kzoo.edu

System Administrator   (269) 337-7496

Kalamazoo College

 

________________________________

From: auth_ldap-bounces at rudedog.org
[mailto:auth_ldap-bounces at rudedog.org] On Behalf Of Aaron Smith
Sent: Wednesday, November 08, 2006 3:21 PM
To: auth_ldap at rudedog.org
Subject: [Auth_ldap] auth_ldap on HPUX

 

            So I've gotten auth_ldap to work GREAT on a Solaris test box
and am now attempting to duplicate my success on the production HP-UX
server.  The module compiles just fine, but when I attempt to start
Apache and load the auth_ldap module, I get a string of unresolved
symbol errors:

 

hornet:/opt/apache/sbin/httpd -f /home/httpd/Apache-Test/AD-httpd.conf

/usr/lib/dld.sl: Unresolved symbol: ldap_count_entries (code)  from
/opt/apache/libexec/auth_ldap.so

/usr/lib/dld.sl: Unresolved symbol: ldap_url_parse (code)  from
/opt/apache/libexec/auth_ldap.so

/usr/lib/dld.sl: Unresolved symbol: ldap_start_tls_s (code)  from
/opt/apache/libexec/auth_ldap.so

/usr/lib/dld.sl: Unresolved symbol: ldap_initialize (code)  from
/opt/apache/libexec/auth_ldap.so

/usr/lib/dld.sl: Unresolved symbol: ldap_search_ext_s (code)  from
/opt/apache/libexec/auth_ldap.so

/usr/lib/dld.sl: Unresolved symbol: ldap_free_urldesc (code)  from
/opt/apache/libexec/auth_ldap.so

/usr/lib/dld.sl: Unresolved symbol: ldap_msgfree (code)  from
/opt/apache/libexec/auth_ldap.so

/usr/lib/dld.sl: Unresolved symbol: ldap_simple_bind_s (code)  from
/opt/apache/libexec/auth_ldap.so

/usr/lib/dld.sl: Unresolved symbol: ldap_compare_s (code)  from
/opt/apache/libexec/auth_ldap.so

/usr/lib/dld.sl: Unresolved symbol: ldap_first_entry (code)  from
/opt/apache/libexec/auth_ldap.so

/usr/lib/dld.sl: Unresolved symbol: ldap_get_dn (code)  from
/opt/apache/libexec/auth_ldap.so

/usr/lib/dld.sl: Unresolved symbol: ldap_err2string (code)  from
/opt/apache/libexec/auth_ldap.so

/usr/lib/dld.sl: Unresolved symbol: ldap_set_option (code)  from
/opt/apache/libexec/auth_ldap.so

/usr/lib/dld.sl: Unresolved symbol: ldap_unbind_s (code)  from
/opt/apache/libexec/auth_ldap.so

/usr/lib/dld.sl: Unresolved symbol: ldap_memfree (code)  from
/opt/apache/libexec/auth_ldap.so

Syntax error on line 210 of /home/httpd/Apache-Test/AD-httpd.conf:

Cannot load /opt/apache/libexec/auth_ldap.so into server: Unresolved
external

 

I'm assuming that the dynamic linker, dld.sl, can't find the LDAP
libraries which are located in /usr/local/lib.  I know that in Linux, I
could just add /usr/local/lib to /etc/ld.config and be done with it.
Does anyone know of a similar solution to this for HP-UX?

 

--------------------------------------------------------------------

Aaron Smith                Aaron.Smith at kzoo.edu

System Administrator   (269) 337-7496

Kalamazoo College

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.rudedog.org/pipermail/auth_ldap/attachments/20061109/92153c10/attachment.htm 


More information about the Auth_ldap mailing list