Hi, I resolved the problem. The problem was: every time I open a new
terminal I should set LD_LIBRARY_PATH again. I cant restart the
computer.
Thank you for your help.

On Tue, Feb 23, 2010 at 5:59 PM, Andrew Makhorin <[email protected]> wrote:
>> 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:
>> [sr...@obelix 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.
>
>


_______________________________________________
Help-glpk mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-glpk

Reply via email to