[bind10-dev] failed unittests
Jeremy C. Reed
jreed at isc.org
Wed Nov 30 17:41:50 UTC 2011
On Sat, 19 Nov 2011, BIND 10 Tests wrote:
> Date: Sat, 19 Nov 2011 08:40:01 +0000 (UTC)
> From: BIND 10 Tests <tester at isc.org>
> To: bind10-team at lists.isc.org
> Subject: failed unittests
>
> http://git.bind10.isc.org/~tester/builder//BIND10/20111119081734-CentOS5-x86_64-GCC/logs/unittests.out
>
> http://git.bind10.isc.org/~tester/builder//builder.html
>
> master 1219d81b49e51adece77dc57b5902fa1c6be1407 1321637136
>
> Last successful master revision (for unittests):
> 24c2111ed800e95bc62901cd3b2970692a205578
The error is:
Running test: xfrin_test.py
Traceback (most recent call last):
File
"/home/jreed/builder/work/BIND10/20111119081734-CentOS5-x86_64-GCC/build/src/bin/xfrin/tests/xfrin_test.py",
line 23, in <module>
from isc.testutils.tsigctx_mock import MockTSIGContext
File
"/home/jreed/builder/work/BIND10/20111119081734-CentOS5-x86_64-GCC/build/src/lib/python/isc/__init__.py",
line 7, in <module>
import isc.datasrc
File
"/home/jreed/builder/work/BIND10/20111119081734-CentOS5-x86_64-GCC/build/src/lib/python/isc/datasrc/__init__.py",
line 26, in <module>
from datasrc import *
ImportError:
/home/jreed/builder/work/BIND10/20111119081734-CentOS5-x86_64-GCC/build/src/lib/datasrc/.libs/libdatasrc.so.0:
undefined symbol: sqlite3_prepare_v2
make[6]: *** [check-local] Error 1
So that symbol is in the sqlite3 found by the configure using
pkg_config resulting in:
SQLITE_CFLAGS='-I/home/jreed/pkg/include '
SQLITE_LIBS='-Wl,-R/home/jreed/pkg/lib -L/home/jreed/pkg/lib -lsqlite3 '
But an older sqlite3 which does not have that symbol is provided with
the operating system.
Using ldd on the .libs/libdatasrc.so.0 shows it linked to correct one.
Looks like since the LD_LIBRARY_PATH is set it overrides the builtin
RPATH on this platform's dynamic linker.
More information about the bind10-dev
mailing list