On Mon, Feb 11, 2002 at 01:04:54PM +1100, Craig Small wrote: > > 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.
:) > # 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 This hack works perfectly. Thank you so much, I would have not been able to do it myself. Gaetano -- Gaetano Paolone GnuPG:69A5 548C 4145 1116 8CA9 2CB5 9448 3FA3 54DB 33D3 Debian developer - [EMAIL PROTECTED] Home: http://www.bigpaul.org http://www.linuxfaq.it: LDR Linux Domande e Risposte. http://www.gnutemberg.org - Linuxlinks: http://www.linuxlinks.it by robk -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]