[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-glpk] [Fwd: help running glpk 4.52]
From: |
Giorgio Sartor |
Subject: |
Re: [Help-glpk] [Fwd: help running glpk 4.52] |
Date: |
Wed, 24 Jul 2013 23:28:10 +0800 |
Or
g++ example.cpp -L<path to library> -lglpk -o example
G.S.
Il giorno 24/lug/2013, alle ore 23:10, Raniere Silva <address@hidden> ha
scritto:
> Hello Juan,
>
>> I am compiling using: g++ example.cpp -lglpk -o example
>>
>> However, when I run the file ./example I get:
>>
>> error while loading shared libraries: libglpk.so.35: cannot open shared
>> object file: No such file or directory
>
> Your operational system can't locate the shared library. You can try
>
> $ LD_LIBRARY_PATH=/path/to/libglpk.so/:$LD_LIBRARY_PATH ./example
>
> There are other ways to solve your problem. Search for"Shared Library".
>
> Raniere
>
> _______________________________________________
> Help-glpk mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/help-glpk