[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
back_bdb-2.3.so.0: undefined symbol: db_version with make test on 2.3.28 - test000-rootdse
- To: openldap-software@OpenLDAP.org
- Subject: back_bdb-2.3.so.0: undefined symbol: db_version with make test on 2.3.28 - test000-rootdse
- From: "Gavin Henry" <ghenry@suretecsystems.com>
- Date: Tue, 7 Nov 2006 14:33:45 -0000 (UTC)
- Importance: Normal
- In-reply-to:
- References:
- User-agent: SquirrelMail/1.4.8-1.fc5
Dear All,
Having a bit of trouble with 2.3.28 on Ubuntu Breezy Server:
2.6.12-10-amd64-xeon #1 SMP Fri Sep 15 16:20:29 UTC 2006 x86_64 GNU/Linux
Versions:
libtool-1.5.22
db-4.2.52 with patch.4.2.52.1 to 5
openldap-2.3.28
libtool like so:
456 ./configure
458 make
460 sudo make install
db compiled like so:
372 tar -xzvf db-4.2.52.tar.gz
373 cd db-4.2.52
374 ls
375 patch -p0 < ../patch.4.2.52.1
376 patch -p0 < ../patch.4.2.52.2
377 patch -p0 < ../patch.4.2.52.3
378 patch -p0 < ../patch.4.2.52.4
379 patch -p0 < ../patch.4.2.52.5
380 cd build_unix/
381 env CC=gcc CFLAGS='-O2' CXXFLAGS='-O2' ../dist/configure
382 make
383 sudo make install
openldap-2.3.28 like so:
env CC=gcc CPPFLAGS="-I/usr/local/BerkeleyDB.4.2/include"
LDFLAGS="-L/usr/local/BerkeleyDB.4.2/lib"
LD_LIBRARY_PATH="/usr/local/BerkeleyDB.4.2/lib" ./configure
--prefix=/usr/local --enable-slapd --enable-syslog --with-cyrus-sasl=yes
--enable-dynamic --enable-rewrite --disable-ipv6 --disable-shell
--disable-sql --with-threads --enable-modules --enable-backends=mod
--enable-overlays=mod
make depend
make
suretec@suretec:~/openldap/openldap-2.3.28$ env SLAPD_DEBUG=1 make test cd
tests; make test
make[1]: Entering directory `/home/suretec/openldap/openldap-2.3.28/tests'
make[2]: Entering directory `/home/suretec/openldap/openldap-2.3.28/tests'
Initiating LDAP tests for BDB...
Cleaning up test run directory leftover from previous run.
Running ./scripts/all...
>>>>> Executing all LDAP tests for bdb
>>>>> Starting test000-rootdse ...
running defines.sh
Starting slapd on TCP/IP port 9011...
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: line 66: kill: (29965) - No such process
ldap_bind: Can't contact LDAP server (-1)
>>>>> Test failed
>>>>> ./scripts/test000-rootdse failed (exit 1)
make[2]: *** [bdb-mod] Error 1
make[2]: Leaving directory `/home/suretec/openldap/openldap-2.3.28/tests'
make[1]: *** [test] Error 2
make[1]: Leaving directory `/home/suretec/openldap/openldap-2.3.28/tests'
make: *** [test] Error 2
Entries from log:
suretec@suretec:~/openldap/openldap-2.3.28$ cat tests/testrun/slapd.1.log
@(#) $OpenLDAP: slapd 2.3.28 (Nov 7 2006 13:15:15) $
suretec@netdev1:/home/suretec/openldap/openldap-2.3.28/servers/slapd
daemon_init: listen on ldap://localhost:9011/
daemon_init: 1 listeners to open...
ldap_url_parse_ext(ldap://localhost:9011/)
daemon: listener initialized ldap://localhost:9011/
daemon_init: 1 listeners opened
lt-slapd init: initiated server.
slap_sasl_init: initialized!
=> str2entry: "dn:
vendorName: The OpenLDAP Project <http://www.openldap.org/>
"
>>> dnPrettyNormal: <>
<<< dnPrettyNormal: <>, <>
<= str2entry() -> 0x65a580
bdb_back_initialize: initialize BDB backend
/home/suretec/openldap/openldap-2.3.28/servers/slapd/.libs/lt-slapd:
symbol lookup error: ../servers/slapd/back-bdb/.libs/back_bdb-2.3.so.0:
undefined symbol: db_version
I'm at a bit of a loss here. Any pointers? I've just configured and
installed 2.3.28 with all the same options on RHEL4, and that went fine.
Thanks.
--
Kind Regards,
Gavin Henry.
Managing Director.
T +44 (0) 1224 279484
M +44 (0) 7930 323266
F +44 (0) 1224 824887
E ghenry@suretecsystems.com
Open Source. Open Solutions(tm).
http://www.suretecsystems.com/