[Coin-lpsolver] installation problems

Matthew Saltzman mjs at ces.clemson.edu
Fri May 23 11:28:32 EDT 2003


On Fri, 23 May 2003, Oliver Kullmann wrote:

> Hi,
>
> I'm running Linux (Suse 8.0). Installation of Clp seemed
> successful, but I'm not able to compile the tests or the
> samples:
>
> Clp> make unitTest
>
> Compiling ClpMain.cpp
> ClpMain.cpp:565:31: readline/readline.h: No such file or directory
> ClpMain.cpp:566:30: readline/history.h: No such file or directory
> ClpMain.cpp: In function `std::string nextField()':
> ClpMain.cpp:589: `readline' undeclared (first use this function)
> ClpMain.cpp:589: (Each undeclared identifier is reported only once for each
>    function it appears in.)
> ClpMain.cpp:594: `add_history' undeclared (first use this function)
>
> Clp/Samples> make -f Makefile.minimum
>
> Creating testit
> g++ -I-  -Wall -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wwrite-strings -Wconversion -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -pipe -g -I../..//include -I../..//Clp/include  -DREADLINE -o testit Linux-g/minimum.o -L../..//lib -L../..//lib -Wl,-rpath,../..//lib -Wl,-rpath,../..//lib -lCoin -lClp -lhistory -lreadline -ltermcap   -lm
> /usr/bin/ld: cannot find -lhistory
> collect2: ld returned 1 exit status
>
> Where should these libraries -lhistory -lreadline come from?!

In Red Hat Linux, they are in the readline-devel RPM.  Not sure what the
corresponding SuSE RPM is.

>
> Thanks in any case!
>
> Oliver
>
> _______________________________________________
> Coin-lpsolver mailing list
> Coin-lpsolver at www-124.ibm.com
> http://www-124.ibm.com/developerworks/oss/mailman/listinfo/coin-lpsolver
>

-- 
		Matthew Saltzman

Clemson University Math Sciences
mjs at clemson.edu
http://www.math.clemson.edu/~mjs



More information about the Clp mailing list