|
|
|
|
||||||
| alt.apache.configuration Apache web server configuration issues. |
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
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 ? What do I need to link with to fix this missing symbol? |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
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? > ? 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? |
|
![]() |
| Outils de la discussion | |
|
|