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 share


From: Guanyao Huang
Subject: Re: [Help-glpk] Always running time error : " error while loading shared libraries: libglpk.so.0:"
Date: Thu, 25 Feb 2010 23:04:39 -0800

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 <address@hidden> 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:
>> 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]