libtool
[Top][All Lists]
Advanced

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

Re: Linking with relocated libraries


From: Scott James Remnant
Subject: Re: Linking with relocated libraries
Date: Wed, 24 Mar 2004 02:26:21 +0000

On Thu, 2004-02-05 at 19:18, address@hidden wrote:

Sorry about the late reply, but here goes...

> I have a situation where I'm constructing a filesystem image, and I need
> to use the contents of that image to build new packages to be installed
> in the image.  For example, I have $ROOT, which might be something like
> /usr/local/images or whatever.
*snip*
> When I'm building packages to be placed into that image, I need to link
> with libraries in $ROOT/usr/lib (for example), but at runtime those
> libraries will be at /usr/lib.
*snip*
> Note how the path to glib can been changed from -lglib, to
> "/usr/lib/libglib.so", ignoring my -L setting.  And of course, this is
> the wrong one so it fails.
> 
This is exactly the same problem reported by Markus Diesmann, fixed by
the patch I've just mailed to -patches.

In summary: it was ignoring the -L when finalising the library paths.

Scott
-- 
Have you ever, ever felt like this?
Had strange things happen?  Are you going round the twist?

Attachment: signature.asc
Description: This is a digitally signed message part


reply via email to

[Prev in Thread] Current Thread [Next in Thread]