[Cbc] How to run CBC on linux
Stefan Vigerske
stefan at math.hu-berlin.de
Sat Apr 11 07:20:20 EDT 2009
Hi,
> I downloaded the binary package "Cbc-2.2.2-linux-x86_64-icc10.1.tgz" from
> page http://www.coin-or.org/download/binary/Cbc/
> <http://www.coin-or.org/download/binary/Cbc/Cbc-2.2.2-linux-x86_64-icc10.1.tgz>
>
> But when I run file cbc on bin directory it show out an error: " *error
> while loading shared libraries: libCbcSolver.so.0: cannot open shared object
> file: no such file or directory*". What should I do to run it correctly?
The lib subdirectory of your download should contain the libCbcSolver
library and others that are required by cbc.
You should add this directory to the library search path, e.g. in bash
it would be something like
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:your-path-to-Cbc/lib
./cbc
The binary may depend also on some Intel Compiler libraries that can be
found at http://www.gams.com/~svigerske/intel/x86_64/10.1
To avoid this, you can also try the gcc-build Cbc binary from
http://www.coin-or.org/download/binary/Cbc/Cbc-2.2.2-linux-x86_64-gcc4.3.2-parallel.tgz
Stefan
More information about the Cbc
mailing list