help-glpk
[Top][All Lists]
Advanced

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

Re: [Help-glpk] Compilation problems on RH Enterprice...


From: Andrew Makhorin
Subject: Re: [Help-glpk] Compilation problems on RH Enterprice...
Date: Fri, 6 Jun 2008 15:39:51 +0400

> Hello I am try to compile glpk on a high-performance Linux-clusted of
> which I don't know so much about, apart it runs Red Hat Enterprice
> 4...

> Configure seems to go well, but when I compile with make I got the
> following problem:

> [CONSOLE OUTPUT]
> Making all in src
> make[2]: Entering directory
> `/sfs/sanfs/home/userfranc/frauan02/glpk-4.28/src'
> make[2]: Nothing to be done for `all'.
> make[2]: Leaving directory
> `/sfs/sanfs/home/userfranc/frauan02/glpk-4.28/src'
> Making all in examples
> make[2]: Entering directory 
> `/sfs/sanfs/home/userfranc/frauan02/glpk-4.28/exampl               
> es'
> /bin/sh ../libtool --tag=CC   --mode=link gcc  -g -O2   -o glpsol 
> glpsol.o ../sr                                 c/libglpk.la -lz -lgmp -lm
> gcc -g -O2 -o .libs/glpsol 
> glpsol.o  ../src/.libs/libglpk.so -lz -lgmp -lm  -Wl,               --rpath 
> -Wl,/usr/local/lib
> ../src/.libs/libglpk.so: undefined reference to `dlsym'
> ../src/.libs/libglpk.so: undefined reference to `dlerror'
> ../src/.libs/libglpk.so: undefined reference to `dlopen'
> ../src/.libs/libglpk.so: undefined reference to `dlclose'
> collect2: ld returned 1 exit status
> make[2]: *** [glpsol] Error 1
> [/CONSOLE OUTPUT]

> What do you think it means?? I never got any problem compiling on normal
> workstation..

The configure script enables using ltdl only if it detects that ltdl.h
is available. Looks like on your system ltdl.h is present, but the
library ltdl is missing. If not, please provide the configure terminal
output.

In any case you can disable using ltdl by passing option --disable-dl to
the configure script.








reply via email to

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