GNU bug report logs - #26240
Guile doesn't search for libraries installed in /usr/lib64

Previous Next

Package: guile;

Reported by: "Stewart, Adam James" <ajstewart <at> anl.gov>

Date: Fri, 24 Mar 2017 17:00:02 UTC

Severity: normal

Done: Andy Wingo <wingo <at> igalia.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 26240 in the body.
You can then email your comments to 26240 AT debbugs.gnu.org in the normal way.

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-guile <at> gnu.org:
bug#26240; Package guile. (Fri, 24 Mar 2017 17:00:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Stewart, Adam James" <ajstewart <at> anl.gov>:
New bug report received and forwarded. Copy sent to bug-guile <at> gnu.org. (Fri, 24 Mar 2017 17:00:02 GMT) Full text and rfc822 format available.

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

From: "Stewart, Adam James" <ajstewart <at> anl.gov>
To: "bug-guile <at> gnu.org" <bug-guile <at> gnu.org>
Subject: Guile doesn't search for libraries installed in /usr/lib64
Date: Fri, 24 Mar 2017 16:59:27 +0000
[Message part 1 (text/plain, inline)]
Hi,

I'm trying to build Guile 2.2.0 on CentOS 7.3 with GCC 4.8.5. During configure, I see the following error message:

checking for libltdl... no
configure: error: GNU libltdl (Libtool) not found, see README.

I do have libtool installed on my system:

$ which libtool
/usr/bin/libtool
$ libtool --version
libtool (GNU libtool) 2.4.2
Written by Gordon Matzigkeit <gord <at> gnu.ai.mit.edu>, 1996

Copyright (C) 2011 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

I'm passing the following option to configure:

$ ./configure --with-libltdl-prefix=/usr

but it still doesn't pick up libltdl. Based on the following help message:

$ ./configure --help
...
  --with-libltdl-prefix[=DIR]  search for libltdl in DIR/include and DIR/lib

I believe the problem is that CentOS installs libltdl to /usr/lib64 instead of /usr/lib:

$ ls -l /usr/lib64/libltdl.so.7*
lrwxrwxrwx 1 root root    16 Feb 27 11:19 /usr/lib64/libltdl.so.7 -> libltdl.so.7.3.0
-rwxr-xr-x 1 root root 41248 Feb 16  2016 /usr/lib64/libltdl.so.7.3.0

Do you have any suggestions as to how I can get Guile to pick up libraries installed in /usr/lib64?

Adam J. Stewart
Assistant Systems Administrator
Laboratory Computing Resource Center
Computing, Environment and Life Sciences
Argonne National Laboratory
[Message part 2 (text/html, inline)]

Reply sent to Andy Wingo <wingo <at> igalia.com>:
You have taken responsibility. (Wed, 19 Apr 2017 13:53:02 GMT) Full text and rfc822 format available.

Notification sent to "Stewart, Adam James" <ajstewart <at> anl.gov>:
bug acknowledged by developer. (Wed, 19 Apr 2017 13:53:02 GMT) Full text and rfc822 format available.

Message #10 received at 26240-done <at> debbugs.gnu.org (full text, mbox):

From: Andy Wingo <wingo <at> igalia.com>
To: "Stewart\, Adam James" <ajstewart <at> anl.gov>
Cc: 26240-done <at> debbugs.gnu.org
Subject: Re: bug#26240: Guile doesn't search for libraries installed in
 /usr/lib64
Date: Wed, 19 Apr 2017 15:52:42 +0200
On Fri 24 Mar 2017 17:59, "Stewart, Adam James" <ajstewart <at> anl.gov> writes:

> $ ls -l /usr/lib64/libltdl.so.7*
> lrwxrwxrwx 1 root root 16 Feb 27 11:19 /usr/lib64/libltdl.so.7 -> libltdl.so.7.3.0
> -rwxr-xr-x 1 root root 41248 Feb 16 2016 /usr/lib64/libltdl.so.7.3.0
>
> Do you have any suggestions as to how I can get Guile to pick up libraries installed in /usr/lib64?

I believe this indicates that you don't have libltdl development
packages installed.  Check on your distro for "ltdl-dev" or similar
packages.  Normally if your distro installs things to /usr/lib64, then
it adds it to all the normal search paths.

Andy




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 18 May 2017 11:24:06 GMT) Full text and rfc822 format available.

This bug report was last modified 6 years and 338 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.