guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: guile 2.0.7 installation problems: configure issues libltdl error


From: dsmich
Subject: Re: guile 2.0.7 installation problems: configure issues libltdl error
Date: Fri, 7 Dec 2012 10:54:25 -0500

---- address@hidden wrote: 
> On Thu, Dec 6, 2012, at 08:24 PM, Mark H Weaver wrote:
> > address@hidden writes:
> > > Last line of configure output:
> > > ********************************
> > > ...
> > > ...
> > > ...
> > > checking for libltdl... no
> > >
> > > and an error is issued complaining about the absence of libltdl.
> > >
> > > However, libltdl exists on the system:
> > > ****************************
> > > ls -l /usr/lib64/*ltdl*
> > >
> > > lrwxrwxrwx 1 root root    16 Nov 21  2011 /usr/lib64/libltdl.so.3 ->
> > > libltdl.so.3.1.4
> > > -rwxr-xr-x 1 root root 29952 Dec 16  2009 /usr/lib64/libltdl.so.3.1.4
> > 
> > Most likely, this is because you don't have /usr/include/ltdl.h, which
> > is needed to compile programs against libltdl.
> > 
> > Modern distributions typically separate libraries into at least two
> > packages: the main package, and a "development package" which includes
> > header files, etc, needed during compilation.  For example, on
> > Debian-derived systems, the main package is called "libltdl7", and the
> > development package is called "libltdl-dev".
> > 
> > To compile Guile, you will need the development packages for all of the
> > libraries needed for Guile.
> > 
> > If you cannot persuade the administrator of your system to install the
> > needed packages, then there are a number of ways to proceed.  The most
> > straightforward is to compile+install the needed libraries from source
> > code into your home directory, and then build Guile against those
> > locally-installed libraries.  There are a few gotchas, but it is doable.
> > 
> >     Regards,
> >       Mark
> 
> 
> Thanks Ludo', Mark for the quick responses.
> 
> /usr/include on the machine does not contain ltdl.h, but
> /usr/share/libtool/libltdl/ does.
> 
> I tried the following combo:
>  CC=gcc CFLAGS="-I/usr/share/libtool/libltdl/" LDFLAGS="-L/usr/lib64/"
>  ./configure --prefix=$HOME/local
> 
> Still the same result, the exact same error.

Does it work better if you leave of the /'s from -I and -L ?

-Dale




reply via email to

[Prev in Thread] Current Thread [Next in Thread]