Re: binary-or-shlib-defines-rpath
On Mon, Feb 11, 2002 at 12:52:49AM +0100, Gaetano Paolone wrote:
>
> Lintian tells me this:
>
> W: php-gtk: binary-or-shlib-defines-rpath
> ./usr/lib/php4/20010901/php_gtk.so /usr/X11R6/lib
Strangely enough, I had this problem yesterday.
I was told to:
- Get new libtool
- libtoolize --force --copy
I don't know if you need the libtool is a fool hack or not. If you
still get problems, put this in debian/rules after the configure line
but before the MAKE line.
# Patch the generated libtool to avoid passing -rpath when linking,
# and to explicitly link libraries against the libraries they
# depend on.
sed < libtool > libtool-2 \
-e 's/^hardcode_libdir_flag_spec.*$$/hardcode_libdir_flag_spec=" -D__LIBTOOL_IS_A_FOOL__ "/' \
-e '/^archive_cmds="/s/"$$/ \\$$deplibs"/'
mv libtool-2 libtool
chmod 755 libtool
--
Craig Small VK2XLZ GnuPG:1C1B D893 1418 2AF4 45EE 95CB C76C E5AC 12CA DFA5
Eye-Net Consulting http://www.eye-net.com.au/ <csmall@eye-net.com.au>
MIEEE <csmall@ieee.org> Debian developer <csmall@debian.org>
Reply to: