GNU bug report logs - #14429
libdir does not take sysroot into account

Previous Next

Package: libtool;

Reported by: markbrounce <at> lavabit.com

Date: Mon, 20 May 2013 23:26:02 UTC

Severity: normal

Full log


View this message in rfc822 format

From: markbrounce <at> lavabit.com
To: 14429 <at> debbugs.gnu.org
Subject: bug#14429: libdir does not take sysroot into account
Date: Mon, 20 May 2013 18:50:13 -0400 (EDT)
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.