[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Shared library defines a RPATH

On Sun, Jul 28, 2002 at 06:48:44PM +1000, Herbert Xu wrote:
> On Sun, Jul 28, 2002 at 06:37:49PM +1000, Brian May wrote:
> > 
> > Are you sure you upgraded your package to the latest version by typing
> > in libtoolize?
> Yes.  Why don't you download the source of lesstif and try it yourself?

Because I might find you are right ;-).

Seriously; I have downloaded it, and removed the references to
-rpath in debian/rules.

I tried it on klecker, but things broke very badly with libtool, and I
don't have time to work out why. (It was complaining about a version
mismatch or something; maybe as a result of an old libtool being

So I did the rest on my computer instead.

During package build, Makefile.am calls gcc with -rpath but libtool
strips the -rpath from the command line.

What is interesting is that libtool only appears to link the files once,
before it would link the file once during build with the -rpath, and
then link it again during install without rpath. I guess they may have
fixed this.

Lintian 1.20.17 only reports one warning, so I guess either lintian is
broken on my system (and I missed rpaths being added during build), or
on my system it works:

[585] [scrooge:bam] ~/tmp/lesstif1-1-0.93.18 >grep rpath debian/rules 
[no matches]

[583] [scrooge:bam] ~/tmp/lesstif1-1-0.93.18 >lintian ../lessti*.deb    
W: lesstif1: postinst-unsafe-ldconfig

ii  libtool        1.4.2-7        Generic library support script
Brian May <bam@debian.org>

To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Reply to: