[Top][All Lists]

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

Re: [Bug-glpk] static build workaround for 4.30

From: Andrew Makhorin
Subject: Re: [Bug-glpk] static build workaround for 4.30
Date: Thu, 21 Aug 2008 00:11:57 +0400

Hi Robbie,

Thank you for your exhaustive comments.

> Please note: further testing revealed another related
> problem for 4.30:

>   $ make distclean
>   $ ./configure --enable-dl
>   $ make
>    ...
>    gcc -DHAVE_CONFIG_H -I. -I.. -I../include -g -O2 -MT glplib12.lo \
>        -MD -MP -MF .deps/glplib12.Tpo -c glplib12.c  -fPIC -DPIC \
>        -o .libs/glplib12.o
>   glplib12.c:36:18: error: ltdl.h: No such file or directory

If you specify the option '--enable-dl' or '--enable-dl=yes', which both
are equivalent to '--enable-dl=ltdl', it is assumed that the GNU Libtool
(see http://www.gnu.org/software/libtool/ ) is installed on your system.
You also can specify '--enable-dl=dlfcn', in which case the Posix
version of the dynamic linking will be used rather than the GNU Libtool.
However, using the GNU Libtool is preferable in most cases.

>       'libglpk.dll' (I guess) on Windows)

On Windows the dll name looks like 'glpk_4_30.dll' to avoid linking to
a wrong version of the library.

reply via email to

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