Re: Trouble with --with-sysroot

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

 



On Wed, Sep 4, 2019 at 12:46 PM Alex <wailingoctopus@xxxxxxxxx> wrote:
> .../$TARGET-ld cannot find /home/alex/sysroot/usr/lib/libc.so.6 inside
> /home/alex/sysroot

This usually indicates a glibc configure error.  When you configured
glibc, target paths are relative to the sysroot, but you probably did
something like set libdir to $(sysroot)/usr/lib when it should have
been just /usr/lib instead, so now the linker is looking for a file
$(sysroot)/usr/lib/X inside $(sysroot), when it should have been
looking for the file /usr/lib/X inside $(sysroot).

Jim



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux