[Cbc] Building CBC statically

Jeffrey Milloy jeffrey.a.milloy at gmail.com
Thu Nov 13 13:53:04 EST 2014


I just tried that, still no success.

I built all of coin-or:

./configure --enable-static --disable-shared --prefix=/opt/coin-or
make
make test
sudo make install

The cbc binary is 1.7M, so it seems like it should work. It works on the
machine I built on, but I copied the binary to my EC2 instance and got the
missing shared library (libCgl) message again.

On Thu, Nov 13, 2014 at 1:48 PM, Ted Ralphs <ted at lehigh.edu> wrote:

> Try also doing --disable-shared. I think that should get rid of the
> dependence on the COIN libraries.
>
> Cheers,
>
> Ted
>
> On Thu, Nov 13, 2014 at 10:14 AM, Jeffrey Milloy <
> jeffrey.a.milloy at gmail.com> wrote:
>
>> Hello
>>
>> I am trying to run CBC through AWS EMR. I think I need to build CBC
>> statically so that I can put a standalone binary onto S3 storage. Is it
>> possible?
>>
>> I tried with ./configure --enable-static but the cbc resulting cbc binary
>> still tried to load the shared library libCgl.so.0.
>>
>> Jeff
>>
>> _______________________________________________
>> Cbc mailing list
>> Cbc at list.coin-or.org
>> http://list.coin-or.org/mailman/listinfo/cbc
>>
>>
>
>
> --
> Dr. Ted Ralphs
> Professor, Lehigh University
> (610) 628-1280
> ted 'at' lehigh 'dot' edu
> coral.ie.lehigh.edu/~ted
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/cbc/attachments/20141113/e9d876a4/attachment.html>


More information about the Cbc mailing list