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
Help-glpk@gnu.org
https://lists.gnu.org/mailman/listinfo/help-glpk

Reply via email to