[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-glpk] [Fwd: help running glpk 4.52]
From: |
Raniere Silva |
Subject: |
Re: [Help-glpk] [Fwd: help running glpk 4.52] |
Date: |
Wed, 24 Jul 2013 12:10:17 -0300 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
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