GNU bug report logs -
#14429
libdir does not take sysroot into account
Previous Next
Full log
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
I am using libtool master (a4629ebf) configured with
"--with-sysroot=/tmp/root". My build toolchain (gcc, binutils) has been
configured with the same sysroot.
I am trying to cross-compile linux-pam. All dependencies have been
configured and built with --prefix=/usr, but ultimately been moved after
installing to /tmp/root.
Building fails with
libtool: warning: library '/tmp/root/lib64/libpam.la' was moved.
libtool: warning: library '/tmp/root/lib64/libpam_misc.la' was moved.
libtool: error: cannot find the library '/lib64/libpam.la' or unhandled
argument '/lib64/libpam.la'
/tmp/root/lib64/libpam.la includes
# Directory that this library needs to be installed in:
libdir='/lib64'
libtool should prepend its sysroot to libdir.
This bug report was last modified 12 years and 116 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.