BIND 10 #148: review: bind10_dns and bind10_xfr find needed libboost_python and libpython
BIND 10 Development
do-not-reply at isc.org
Wed Jun 2 01:33:53 UTC 2010
#148: review: bind10_dns and bind10_xfr find needed libboost_python and libpython
--------------------------+-------------------------------------------------
Reporter: jreed | Owner: jreed
Type: defect | Status: reviewing
Priority: major | Milestone:
Component: Unclassified | Resolution:
Keywords: | Sensitive: 0
--------------------------+-------------------------------------------------
Comment(by jinmei):
Replying to [comment:12 jreed]:
> checking for boost::python library... yes
>
> which means it is doing the normal mode.
Ah, that's what you meant by "normal", okay.
That's strange.
Can you compile and run the attached sample test code without specifying
-Wl,-Rpath_to_shlib?
For example, on bind10.isc, without -Wl,-R I see the following:
{{{
% g++ `python3.1-config --include` -I${HOME}/opt/include -o boosttest
boosttest.cc -L${HOME}/opt/lib -lboost_python -L /opt/pkg/lib -lpython3.1
10-06-02 1:31 < bind10:~/tmp >
% ./boosttest
./boosttest: error while loading shared libraries:
libboost_python.so.1.42.0: cannot open shared object file: No such file or
directory
}}}
only if I specify -Wl,-R, it works:
{{{
% g++ `python3.1-config --include` -I${HOME}/opt/include -o boosttest
boosttest.cc -L${HOME}/opt/lib -Wl,-R${HOME}/opt/lib -lboost_python -L
/opt/pkg/lib -Wl,-R/opt/pkg/lib -lpython3.1
% ./boosttest
(no error)
}}}
The script essentially does the same check.
--
Ticket URL: <http://bind10.isc.org/ticket/148#comment:13>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development
More information about the bind10-tickets
mailing list