unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
* bug#26240: Guile doesn't search for libraries installed in /usr/lib64
@ 2017-03-24 16:59 Stewart, Adam James
  2017-04-19 13:52 ` Andy Wingo
  0 siblings, 1 reply; 2+ messages in thread
From: Stewart, Adam James @ 2017-03-24 16:59 UTC (permalink / raw)
  To: 26240

[-- Attachment #1: Type: text/plain, Size: 1442 bytes --]

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@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

[-- Attachment #2: Type: text/html, Size: 2906 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#26240: Guile doesn't search for libraries installed in /usr/lib64
  2017-03-24 16:59 bug#26240: Guile doesn't search for libraries installed in /usr/lib64 Stewart, Adam James
@ 2017-04-19 13:52 ` Andy Wingo
  0 siblings, 0 replies; 2+ messages in thread
From: Andy Wingo @ 2017-04-19 13:52 UTC (permalink / raw)
  To: Stewart, Adam James; +Cc: 26240-done

On Fri 24 Mar 2017 17:59, "Stewart, Adam James" <ajstewart@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





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-04-19 13:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-24 16:59 bug#26240: Guile doesn't search for libraries installed in /usr/lib64 Stewart, Adam James
2017-04-19 13:52 ` Andy Wingo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).