PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Hébergement serveur > comp.info.servers.unix > configure: error: could not find an LDAP library
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
comp.info.servers.unix Web servers for UNIX platforms.

configure: error: could not find an LDAP library

Réponse
 
LinkBack Outils de la discussion
Vieux 26/02/2005, 03h25   #1
mitchell
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut configure: error: could not find an LDAP library

Dear all,

I am trying to configure Apache version 2.0.52 enabled ldap. My
OpenLDAP is under /dir/openldap. I found configuration error. Anybody
me please.

Here is my config command ....

env CPPFLAGS="-I/dir/openldap/include" LDFLAGS="-L/dir/openldap/lib"
../configure --prefix=/opt/apache --enable-ldap
--with-ldap=/dir/openldap

Config error ..........

checking for ldap support...
/export/home/mydir/httpd-2.0.52/srclib/apr-util/configure: unset:
`ac_cv_lib_/opt/openldap_ldap_init': not a valid identifier
/export/home/mydir/httpd-2.0.52/srclib/apr-util/configure: unset:
`ac_cv_lib_/opt/openldap___ldap_init': not a valid identifier
checking for ldap_init in -l/opt/openldap... no
/export/home/mydir/httpd-2.0.52/srclib/apr-util/configure: unset:
`ac_cv_lib_/opt/openldap_ldap_init': not a valid identifier
/export/home/mydir/httpd-2.0.52/srclib/apr-util/configure: unset:
`ac_cv_lib_/opt/openldap___ldap_init': not a valid identifier
checking for ldap_init in -l/opt/openldap... (cached) no
/export/home/mydir/httpd-2.0.52/srclib/apr-util/configure: unset:
`ac_cv_lib_/opt/openldap_ldap_init': not a valid identifier
/export/home/mydir/httpd-2.0.52/srclib/apr-util/configure: unset:
`ac_cv_lib_/opt/openldap___ldap_init': not a valid identifier
checking for ldap_init in -l/opt/openldap... (cached) no
/export/home/mydir/httpd-2.0.52/srclib/apr-util/configure: unset:
`ac_cv_lib_/opt/openldap_ldap_init': not a valid identifier
/export/home/mydir/httpd-2.0.52/srclib/apr-util/configure: unset:
`ac_cv_lib_/opt/openldap___ldap_init': not a valid identifier
checking for ldap_init in -l/opt/openldap... (cached) no
configure: error: could not find an LDAP library
configure failed for srclib/apr-util

  Réponse avec citation
Vieux 09/06/2005, 21h53   #2
Brent Kearney
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: configure: error: could not find an LDAP library

After the Apache build bails like you describe, change into the
srclib/apr-util directory, and run:

../configure --prefix=/opt/apache \
--with-ldap-include=/dir/openldap/include \
--with-ldap-lib=/dir/openldap/lib/ \
--with-ldap=ldap --with-apr=../apr

make

Then go back to the top-level and re-run 'make'. It should finish fine.

Cheers,

Brent



--
Netmojo Systems
http://netmojo.ca


mitchell wrote:
> Dear all,
>
> I am trying to configure Apache version 2.0.52 enabled ldap. My
> OpenLDAP is under /dir/openldap. I found configuration error. Anybody
> me please.
>
> Here is my config command ....
>
> env CPPFLAGS="-I/dir/openldap/include" LDFLAGS="-L/dir/openldap/lib"
> ./configure --prefix=/opt/apache --enable-ldap
> --with-ldap=/dir/openldap
>
> Config error ..........
>
> checking for ldap support...
> /export/home/mydir/httpd-2.0.52/srclib/apr-util/configure: unset:
> `ac_cv_lib_/opt/openldap_ldap_init': not a valid identifier
> /export/home/mydir/httpd-2.0.52/srclib/apr-util/configure: unset:
> `ac_cv_lib_/opt/openldap___ldap_init': not a valid identifier
> checking for ldap_init in -l/opt/openldap... no
> /export/home/mydir/httpd-2.0.52/srclib/apr-util/configure: unset:
> `ac_cv_lib_/opt/openldap_ldap_init': not a valid identifier
> /export/home/mydir/httpd-2.0.52/srclib/apr-util/configure: unset:
> `ac_cv_lib_/opt/openldap___ldap_init': not a valid identifier
> checking for ldap_init in -l/opt/openldap... (cached) no
> /export/home/mydir/httpd-2.0.52/srclib/apr-util/configure: unset:
> `ac_cv_lib_/opt/openldap_ldap_init': not a valid identifier
> /export/home/mydir/httpd-2.0.52/srclib/apr-util/configure: unset:
> `ac_cv_lib_/opt/openldap___ldap_init': not a valid identifier
> checking for ldap_init in -l/opt/openldap... (cached) no
> /export/home/mydir/httpd-2.0.52/srclib/apr-util/configure: unset:
> `ac_cv_lib_/opt/openldap_ldap_init': not a valid identifier
> /export/home/mydir/httpd-2.0.52/srclib/apr-util/configure: unset:
> `ac_cv_lib_/opt/openldap___ldap_init': not a valid identifier
> checking for ldap_init in -l/opt/openldap... (cached) no
> configure: error: could not find an LDAP library
> configure failed for srclib/apr-util
>

  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 18h54.


É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,16908 seconds with 10 queries