[bind10-dev] failed unittests

Jeremy C. Reed jreed at isc.org
Mon Dec 5 18:42:39 UTC 2011


On Mon, 5 Dec 2011, Jelte Jansen wrote:

> Just looked at that machine, the problem is that the test script needs
> some sqlite3 itself, and it does import sqlite3.
> 
> That in itself would be fine, however, since ~jreed/opt/pkg is *not* in
> LD_LIBRARY_PATH, python will load the system-install libsqlite3.


[jreed at bind10-testing1 ~]$ objdump -x /home/jreed/builder/work/BIND10/20111203083735-CentOS5-x86_64-GCC/build/src/lib/datasrc/.libs/libdatasrc.so.0 | egrep "RPATH|libsqlite3"
  NEEDED      libsqlite3.so.0
  RPATH       /home/jreed/builder/work/BIND10/20111203083735-CentOS5-x86_64-GCC/build/src/lib/exceptions/.libs:/home/jreed/builder/work/BIND10/20111203083735-CentOS5-x86_64-GCC/build/src/lib/dns/.libs:/home/jreed/builder/work/BIND10/20111203083735-CentOS5-x86_64-GCC/build/src/lib/cryptolink/.libs:/home/jreed/builder/work/BIND10/20111203083735-CentOS5-x86_64-GCC/build/src/lib/log/.libs:/home/jreed/builder/work/BIND10/20111203083735-CentOS5-x86_64-GCC/build/src/lib/cc/.libs:/home/jreed/pkg/lib:/home/jreed/builder/work/BIND10/20111203083735-CentOS5-x86_64-GCC/build/src/lib/util/.libs:/home/jreed/builder/work/BIND10/20111203083735-CentOS5-x86_64-GCC/install/lib


It looks like the LD_LIBRARY_PATH causes it to ignore the RPATH. So an 
alternative is not to add it to the LD_LIBRARY_PATH, but to not define 
the LD_LIBRARY_PATH in the first place (which means fixing those many 
components to find their libraries a different way).

Please note that this system has not changes in probably in over a year, 
but this failure just began a couple weeks ago.



More information about the bind10-dev mailing list