[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: OpenLDAP 2.2.5 configure fails




Hi,

In my first compilations, I remember something like this.

After I do:

ln -s /usr/local/lib/sasl2 /usr/lib/sasl2
ln -s /usr/local/include/sasl2 /usr/include/sasl2

and

ln -s /usr/local/lib/sasl /usr/lib/sasl
ln -s /usr/local/include/sasl /usr/include/sasl
ln -s /usr/local/include/sasl.h /usr/include/sasl.h
ln -s /usr/local/include/saslutil.h /usr/include/saslutil.h
ln -s /usr/local/include/saslplub.h /usr/include/saslplug.h

All ./configure (s) become to find sasl and sals2.

Another thing specifically to openldap was that after I
compile the last version of openssl, I have to do

mv /usr/bin/openssl /usr/bin/openssl-orig
ln -s /usr/local/bin/openssl /usr/bin/openssl
mv /usr/lib/libssl.a /usr/lib/libssl.a-original
ln -s /usr/local/lib/libssl.a /usr/lib/libssl.a
 mv /usr/lib/libcrypto.a /usr/lib/libcrypto.a-original
 ln -s /usr/local/lib/libcrypto.a /usr/lib/libcrypto.a
mv /usr/include/openssl /usr/include/openssl-orignal
ln -s /usr/local/include/openssl /usr/include/openssl

to avoid that the ./configure to find the old operating
system natively installed openssl.







On Tue, 27 Jan 2004, Nacho Diaz Asenjo wrote:

%%  Date: Tue, 27 Jan 2004 10:48:58 +0100
%%  From: Nacho Diaz Asenjo <nacho@di.uc3m.es>
%%  To: OpenLDAP Software List <openldap-software@OpenLDAP.org>
%%  Subject: OpenLDAP 2.2.5 configure fails
%%
%%  Hi!
%%
%%    I'm compiling OpenLDAP 2.2.5 but i have a problem when I run
%%  configure.
%%
%%  # CPPFLAGS="-I/usr/local/BerkeleyDB-4.2.52/include \
%%               -I/usr/local/Cyrus-SASL-2.1.17/include/sasl/" \
%%     LDFLAGS="-L/usr/local/BerkeleyDB-4.2.52/lib \
%%              -L/usr/local/Cyrus-SASL-2.1.17/lib/sasl2 \
%%              -L/usr/local/Cyrus-SASL-2.1.17/lib" \
%%     ./configure --enable-threads --enable-tls
%%  --prefix=/usr/local/openldap-2.2.5 \
%%     --enable-ldbm --enable-bdb --enable-monitor --enable-crypt
%%
%%
%%  ....
%%  checking for Berkeley DB link (default)... no
%%  checking for Berkeley DB link (-ldb42)... no
%%  checking for Berkeley DB link (-ldb-42)... no
%%  checking for Berkeley DB link (-ldb-4.2)... yes
%%  checking for Berkeley DB thread support... yes
%%  checking Berkeley DB version for BDB backend... yes
%%  checking for openlog... yes
%%  checking for sasl/sasl.h... yes
%%  checking for sasl.h... yes
%%  checking for sasl_client_init in -lsasl2... yes
%%  checking Cyrus SASL library version... no
%%  configure: error: Cyrus SASL library located but incompatible
%%
%%  ¿Incompatible?. With OpenLDAP 2.2.4 this doesn't fail. Has something
%%  changed from this version about Cyrus SASL supported version?
%%
%%   Thanks
%%
%%  --
%%  +----------------------
%%  En casa mal gobernada, más vale plaza cara que despensa abastada.
%%  ------------------------------------------------------------------------
%%  		   '''
%%  		  (O O)			   -= CENTRO DE CÁLCULO =-
%%  	+---oOO----(_)-----------+       [Grupo de Sistemas Centrales]
%%  	|  Ignacio Díaz Asenjo   |
%%  	|                        |    Universidad Carlos III (Leganes)
%%  	|    nacho@di.uc3m.es    |       Edificio Betancourt (1.1J02)
%%  	+------------------oOO---+            Tfno: (91)624-94-81
%%  		|__|__|
%%  		 || ||                  (gpg-key disponible en:
%%  		ooO Ooo                       x-hkp://pgp.rediris.es)
%%
%%

 +------------------------------------+
 | Nelson Takashi Yunaka  <yunakaof-AT-usp.br>{ "-AT-" = "@" }