[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: library relocation
From: |
Howard Chu |
Subject: |
RE: library relocation |
Date: |
Thu, 24 Oct 2002 11:41:16 -0700 |
That can only happen because the linker didn't find a libc in your first -L
directory. Fix that, that's your real problem.
-- Howard Chu
Chief Architect, Symas Corp. Director, Highland Sun
http://www.symas.com http://highlandsun.com/hyc
Symas: Premier OpenSource Development and Support
> -----Original Message-----
> From: address@hidden [mailto:address@hidden Behalf Of
> Frederic Gobry
> Sent: Thursday, October 24, 2002 3:53 AM
> To: address@hidden
> Subject: Re: library relocation
>
>
> > We have this same need when building our software. I've
> hacked our version of
> > libtool to support this feature:
>
> I've applied your patch (by hand), and my compilation line is
> transformed like that:
>
> -L/home/fred/external/build/frozen/glib/arm-linux-any-any/usr/
> lib -lglib-2.0
>
> ...becomes..
>
> -L/home/fred/external/build/frozen/glib/arm-linux-any-any/usr/
> lib -L/usr/lib -lglib-2.0
>
> But it seems that due to the -L/usr/lib, the linker takes the libc
> from the wrong platform again...
>
> Frédéric
>
> --
> Frédéric Gobry SMARTDATA
> --- http://www.smartdata.ch
> Software Engineer Lausanne - Switzerland
> +41 21 693 84 98
>
>