Re: Shared library defines a RPATH
>>>>> "Eric" == Eric Van Buggenhaut <Eric.VanBuggenhaut@AdValvas.be> writes:
Eric> How can I solve this problem ?
Your problem is libtool. Setting rpath *at all* is a viloation of
policy. Add the following makefile snippet after calling ./configure
# Patch the generated libtool to avoid passing -rpath when linking,
# and to explicitly link libraries against the libraries they depend
# on. (thanks Richard Braakman <firstname.lastname@example.org>)
sed < libtool > libtool-2 \
-e 's/^\(hardcode_libdir_flag_spec\).*$$/\1=" -D__LIBTOOL_IS_A_FOOL__ "/' \
-e '/^archive_cmds="/s/"$$/ \\$$deplibs"/'
mv libtool-2 libtool
chmod 755 libtool
"And what do we burn apart from witches?"... "More witches!"
To UNSUBSCRIBE, email to email@example.com
with a subject of "unsubscribe". Trouble? Contact firstname.lastname@example.org