help-glpk
[Top][All Lists]
Advanced

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

Re: [Help-glpk] Always running time error : " error while loading shared


From: Andrew Makhorin
Subject: Re: [Help-glpk] Always running time error : " error while loading shared libraries: libglpk.so.0:"
Date: Wed, 24 Feb 2010 04:59:38 +0300

> Actually my LD_LIBRARY_PATH is correct.

> Now I run:
> sudo make clean
>  sudo ./configure --disable-shared
> sudo make install

You forgot to run 'make uninstall'.

> I change Makefile to:
> g++ -lglpk -o TestLP TestLP.o BasicFunction.o CIDR.o
> (are you sure there this makefile is correct? No other options?)

> Still the same error:
> address@hidden TestLP]$ ./TestLP
> ./TestLP: error while loading shared libraries: libglpk.so.0: cannot
> open shared object file: No such file or directory

You reported that 'make check' works, so the package was successfully
built. Thus, the only issue is that libglpk.so is not available to your
program at the execution time. To resolve this issue please consult the
system documentation.





reply via email to

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