|
Home > Archive > Apache Server configuration support > May 2007 > mod_auth_ldap on Solaris 10, or What lib do I need?
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
mod_auth_ldap on Solaris 10, or What lib do I need?
|
|
| Doches@gmail.com 2007-05-09, 1:24 pm |
| I'm trying to install mod_auth_ldap on Apache running on Solaris 10.
The module builds/installs just fine (after much fighting!) -- but I
get this error from 'apachectl configtest' when I try to start apache:
Syntax error on line 257 of /etc/apache/httpd.conf:
Cannot load /usr/apache/libexec/auth_ldap.so into server: ld.so.1:
httpd: fatal: relocation error: file /usr/apache/libexec/auth_ldap.so:
symbol ldap_unbind_s: referenced symbol not found
I installed the openldap package from sunfreeware into /usr/local; and
configured the module before making it with:
../configure --with-ldap-sdk=openldap --with-sdk-libs=/usr/local/lib --
with-activate --with-sdk-headers=/usr/local/include
Help? What do I need to link with to fix this missing symbol?
| |
| gerryt 2007-05-09, 7:20 pm |
| On May 9, 11:11 am, Doc...@gmail.com wrote:
> I'm trying to install mod_auth_ldap on Apache running on Solaris 10.
> The module builds/installs just fine (after much fighting!) -- but I
> get this error from 'apachectl configtest' when I try to start apache:
> Syntax error on line 257 of /etc/apache/httpd.conf:
> Cannot load /usr/apache/libexec/auth_ldap.so into server: ld.so.1:
Which indicates that you are trying to use a module that Apache org
states:
Compatibility: Available in version 2.0.41 and later
on Apache 1.3 ??
See: http://httpd.apache.org/docs/2.0/mod/mod_auth_ldap.html
> httpd: fatal: relocation error: file /usr/apache/libexec/auth_ldap.so:
> symbol ldap_unbind_s: referenced symbol not found
> I installed the openldap package from sunfreeware into /usr/local; and
That could be a mistake too. Unless you read the fine print at
sunfreeware you may be missing dependencies.
> configured the module before making it with:
> ./configure --with-ldap-sdk=openldap --with-sdk-libs=/usr/local/lib --
> with-activate --with-sdk-headers=/usr/local/include
Is that all? No LDFLAGS?
> Help? What do I need to link with to fix this missing symbol?
man ldd - ldd will tell you what cannot be linked. Usually.
But it looks like you are barking up a wrong tree anyway.
Do you really work for Sun?
|
|
|
|
|