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

RE: make test problem



You have the order wrong:
 
it is
./configure
make depend
make
 
you need to make the dependencies first
 
Russell Premont
-----Original Message-----
From: owner-openldap-software@OpenLDAP.org [mailto:owner-openldap-software@OpenLDAP.org]On Behalf Of Ernesto Freyre
Sent: Wednesday, January 29, 2003 11:00 AM
To: OpenLDAP-software@OpenLDAP.org
Subject: make test problem

Hi!, Please I am installing OpenLDAP server, and I have passed without problems the following commands:
 
./configure
make
make depend
 
But then when I executed "make test" I get the message:
 
>>>>> Executing all LDAP tests...
>>>>> Test Directory: .
>>>>> Backend: bdb
>>>>> Starting test000-rootdse ...
running defines.sh
Datadir is ./data
Cleaning up in ./test-db...
Starting slapd on TCP/IP port 9009...
Using ldapsearch to retrieve the root DSE...
Waiting 5 seconds for slapd to start...
Waiting 5 seconds for slapd to start...
Waiting 5 seconds for slapd to start...
Waiting 5 seconds for slapd to start...
Waiting 5 seconds for slapd to start...
Waiting 5 seconds for slapd to start...
./scripts/test000-rootdse: kill: (31875) - No such pid
ldap_bind: Can't contact LDAP server (81)
>>>>> Test failed
>>>>> ./scripts/test000-rootdse failed (exit 1)
make[1]: *** [test-bdb] Error 1
make[1]: Saliendo directorio `/usr/proyectos/openldap-2.1.12/tests'
make: *** [test] Error 2
I have read at INSTALL file that :
 
"6.   Test the standalone system
 
     This step requires the standalone LDAP server, slapd(8), with
     BDB and/or LDBM support.
     .....
"
 
Does mean this that I should to star manually the "./servers/slapd/slapd" ? When I attempted this I get the following error message:
 
./servers/slapd/slapd: error while loading shared libraries: libdb-4.1.so: cannot open shared object file: No such file or directory
 
 
Could someone help me with this? I will thank ypur help very much.
 
Thank  you in advance.
Ernesto Freyre
Área de Operaciones
Qnet - Servicios Internet
Telf. 241-4122 anexos 2245/2244
www.qnet.com.pe