[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Compiling OpenLDAP on Sol 8 bus error at tests
Hello,
I've been trying to get OpenLDAP to compile on Solaris 8 for a while now,
I've tried versions 2.0.11-15 all unsuccessfully and I have BerkeleyDB
Cyrus SASL TCPD OpenSSL all installed.
OpenSSL was not built shared.
BerkeleyDB is the default version that comes with the Solaris companion cd
and should work. Cyrus was build shared.
I'm working with the software that comes with Solaris 8 (just installed
the 7/00 release) so my path includes both /usr/local and /opt/sfw for
libraries, executables and include files. Of course /usr/ccs/bin is also
in my path as it is where the other utilities such as "ar", "ranlib", etc
are located.
My env settings for my build are:
CPPFLAGS=-I/opt/sfw/include -I/usr/local/ssl/include -I/usr/local/include
LDFLAGS=-L/opt/sfw/lib -L/usr/local/ssl/lib -L/usr/local/lib
-R/opt/sfw/lib:/usr/local/ssl/lib:/usr/local/lib
LD_LIBRARY_PATH=/opt/sfw/lib:/usr/local/ssl/lib:/usr/local/lib
Openldap at all times "appears" to have compiled correctly regardless of
what version I am running. When configure is run by itself everything
works correctly save the following line which is output:
not updating unwritable cache ./config.cache
The configure does pick up my OpenSSL 0.9.6b, db.h, -ldb, sasl.h,
-lsasl and wrappers.
Calling Make depend also functions correctly and I am not getting any
errors of any kind.
Calling "make" also works with the caveat that I get the two errors below
aside from these errors nothing else errors during this command. If I
understand everything correctly this is not so much of a error as
configuration choice.
*** Warning: This library needs some functionality provided by -lssl.
*** I have the capability to make that library automatically link in when
*** you link to this library. But I can only do this if you have a
*** shared version of the library, which you do not appear to have.
*** Warning: This library needs some functionality provided by -lcrypto.
*** I have the capability to make that library automatically link in when
*** you link to this library. But I can only do this if you have a
*** shared version of the library, which you do not appear to have.
*** The inter-library dependencies that have been dropped here will be
*** automatically added whenever a program is linked with this library
*** or is declared to -dlopen it.
Calling "make test" however does not complete. I die at the first test
with:
Tsunami:~/install/openldap-2.0.15%make test
cd tests; make test
make[1]: Entering directory
`/usr/users/bfriday/install/openldap-2.0.15/tests'
ln: cannot create ./data: File exists
make[1]: [test-ldbm] Error 2 (ignored)
Initiating LDAP tests for LDBM...
>>>>> Executing all LDAP tests...
>>>>> Test Directory: .
>>>>> Backend: ldbm
>>>>> Starting test000-rootdse ...
running defines.sh . ldbm
Datadir is ./data
Cleaning up in ./test-db...
Starting slapd on TCP/IP port 9009...
Using ldapsearch to retrieve all the entries...
Waiting 5 seconds for slapd to start...
18615 Bus Error - core dumped
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: no such process
ldap_bind: Can't contact LDAP server
>>>>> Test failed
>>>>> ./scripts/test000-rootdse failed (exit 1)
make[1]: *** [test-ldbm] Error 1
make[1]: Leaving directory
`/usr/users/bfriday/install/openldap-2.0.15/tests'
make: *** [test] Error 2
I'm at a loss at what I can do from this point. I really need to get this
working pretty quick, but obviously if this doesn't compile I can't get it
to work.
Any help or direction you can give me would be a welcome help. What other
information should I be providing to help troubleshoot this problem?
Sincerely,
Brian Friday
Systems Administrator
La Sierra University
(909) 785-2554 x2