PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Serveur - Sécurité et techniques > alt.apache.configuration > mod_auth_ldap on Solaris 10, or What lib do I need?
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
alt.apache.configuration Apache web server configuration issues.

mod_auth_ldap on Solaris 10, or What lib do I need?

Réponse
 
LinkBack Outils de la discussion
Vieux 09/05/2007, 19h11   #1
Doches@gmail.com
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut mod_auth_ldap on Solaris 10, or What lib do I need?

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?

  Réponse avec citation
Vieux 09/05/2007, 22h15   #2
gerryt
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: mod_auth_ldap on Solaris 10, or What lib do I need?

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?



  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 21h16.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,09402 seconds with 10 queries