[Cbc] [External] Re: Issue while Installing Cbc on docker image

Stefan Vigerske svigerske at gams.com
Wed Mar 4 08:26:37 EST 2020


Hi,

libcoingpk.so.0 got installed into /usr/local/lib, but when the 
CoinUtils unittest is running, the library loader does not know that it 
should look into this directory.
One way to get it work it is to use something like this in your Dockerfile:

RUN LD_LIBRARY_PATH=/usr/local/lib ./coinbrew build install Cbc 
--no-prompt --prefix=/usr/local --enable-cbc-parallel --verbosity=4

Stefan

On 3/4/20 11:32 AM, Chaitanya Kirty wrote:
> Hi,
> 
> I am attaching the Dockerfile which we are using to install Cbc as well as complete error logs. I tested it again and got the same error. I am currently running on Ubuntu 16.04. Also, I tested on the local ubuntu (16.04) and got the same error.
> 
> I will also open an issue with the coinbrew project shortly. Since, it was little urgent for us, I am also emailing you the details.
> 
> Thanks in Advance
> 
> Regards,
> Chaitanya
> 
> From: Ted Ralphs <ted at lehigh.edu>
> Sent: 03 March 2020 22:25
> To: Chaitanya Kirty <chaitanya.kirty at fractal.ai>
> Cc: cbc at list.coin-or.org; Vishranth Chandrashekhar <vishranth.chandrashekhar at fractal.ai>; Saikrishna Pallerla <Saikrishna.Pallerla at fractal.ai>; Nitin Saraswat <Nitin.Saraswat at fractal.ai>
> Subject: [External] Re: Issue while Installing Cbc on docker image
> 
> Hi Chaitanya,
> 
> It would be helpful if you could open an issue for this in the coinbrew project and when you do, give us some more details, such as the docker image file itself and the full output.
> 
> Cheers,
> 
> Ted
> 
> On Tue, Mar 3, 2020 at 10:33 AM Chaitanya Kirty <chaitanya.kirty at fractal.ai<mailto:chaitanya.kirty at fractal.ai>> wrote:
> Hi Team,
> 
> While installing Cbc (running it as a containerised app through docker image), we are getting the below issue.
> 
> ##################################################
> ### Running CoinUtils unit test
> ##################################################
> 
> build/CoinUtils/2.10.3/test/.libs/lt-unitTest: error while loading shared libraries: libcoinglpk.so.0: cannot open shared object file: No such file or directory
> make[1]: *** [test] Error 127
> make: *** [test] Error 2
> 
> Installation steps :
> 
> 
>   wget https://raw.githubusercontent.com/coin-or/coinbrew/master/coinbrew
> 
>   chmod +x coinbrew
> 
>   ./coinbrew fetch Cbc:releases/2.10.3 --no-prompt
> 
>   ./coinbrew build Cbc --no-prompt --prefix=/usr/local --enable-cbc-parallel (We are facing issue at this step)
> 
>   ./coinbrew install Cbc
> 
> 
> 
> This issue we were not facing before and were able to install and run our code successfully.
> 
> Can you please provide the solution for the above issue. Also, it would be great if you can also provide the stable binary, so that we don't have to run the 'fetch' step again and again as everytime we recreate the docker image, it installs the Cbc.
> 
> Regards,
> Chaitanya
> 
> 
> 
> 
> 
> ________________________________
> 
> This message contains information that may be privileged or confidential and is the property of the Fractal Analytics. It is intended only for the person to whom it is addressed. Access to this e-mail by anyone else is unauthorized. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.
> 
> ________________________________
> 
> 
> 
> 
> --
> Dr. Ted Ralphs
> Professor, Industrial and Systems Engineering
> Lehigh University
> (610) 628-1280
> ted 'at' lehigh 'dot' edu
> coral.ie.lehigh.edu/~ted<http://coral.ie.lehigh.edu/~ted>
> 
> 
> 
> 
> 
> ________________________________
> 
> This message contains information that may be privileged or confidential and is the property of the Fractal Analytics. It is intended only for the person to whom it is addressed. Access to this e-mail by anyone else is unauthorized. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.
> 
> ________________________________
> 
> 
> 
> _______________________________________________
> Cbc mailing list
> Cbc at list.coin-or.org
> https://list.coin-or.org/mailman/listinfo/cbc
> 



More information about the Cbc mailing list