[bind10-dev] unit tests and /usr/local

Jeremy C. Reed jreed at isc.org
Mon Mar 22 14:31:38 UTC 2010


See recent FreeBSD7-amd64 "unittests" at
http://bind10.isc.org/~tester/builder/builder.html

Making check in config
Making check in .
make  check-TESTS
==================
All 0 tests passed
==================
Making check in tests
make  check-TESTS
/libexec/ld-elf.so.1: /usr/lib/libstdc++.so.6: version GLIBCXX_3.4.11 
required by /usr/local/lib/libcfgclient.so.0 not found
FAIL: run_unittests
====================================
1 of 1 test failed
Please report to bind10-bugs at isc.org
====================================
*** Error code 1

Stop in 

/usr/home/jreed/builder/work/BIND10/20100321033001-FreeBSD7-amd64/build/src/lib/config/tests.


Notice how the unittest framework is using 
/usr/local/lib/libcfgclient.so.0 versus the same library that was built 
and exists in:

> ls 
/usr/home/jreed/builder/work/BIND10/20100321033001-FreeBSD7-amd64/build/src/lib/config/.libs/
ccsession.o             libcfgclient.la         libcfgclient.so.0
config_data.o           libcfgclient.lai        module_spec.o
libcfgclient.a          libcfgclient.so

I haven't looked closely yet. This is on jinmei-1.lab and I think the 
above installation to /usr/local/ got installed early Friday morning 
(when I was a sleep).

Any ideas on how to get the unittest to not link with outside libraries?



More information about the bind10-dev mailing list