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

To reply to this bug, email your comments to 14429 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-libtool <at> gnu.org:
bug#14429; Package libtool. (Mon, 20 May 2013 23:26:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to markbrounce <at> lavabit.com:
New bug report received and forwarded. Copy sent to bug-libtool <at> gnu.org. (Mon, 20 May 2013 23:26:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: markbrounce <at> lavabit.com
To: bug-libtool <at> gnu.org
Subject: 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.






Information forwarded to bug-libtool <at> gnu.org:
bug#14429; Package libtool. (Mon, 20 May 2013 23:34:02 GMT) Full text and rfc822 format available.

Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):

From: markbrounce <at> lavabit.com
To: bug-libtool <at> gnu.org
Cc: markbrounce <at> lavabit.com
Subject: Re: libdir does not take sysroot into account
Date: Mon, 20 May 2013 19:00:16 -0400 (EDT)
> I am trying to cross-compile linux-pam.

That's util-linux of course.

> libtool should prepend its sysroot to libdir.

libtool should work just right if libraries were moved into a sysroot
after building and installing!







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.