[Bonmin] Problem with Bonmin-0.99.2-mac-osx-ix86-gcc4.0.1

Pierre Bonami pierre.bonami at gmail.com
Wed Jan 25 13:14:35 EST 2012


Hi Andre,
I think that you just need to set DYLD_LIBRARY_PATH to the directory of the
libraries (rather than LIBPATH).
Also, if you use a binary version, I would recommend that you use the
version of Bonmin in binaries/CoinAll. It is much more recent.
Best,
Pierre
On Mon, Jan 16, 2012 at 7:07 PM, Andre Girard <andre.girard at gerad.ca> wrote:

> Hello all
>
> I downloaded the osx version of Bonmin but I am having a problem when I
> want to run it from ampl. I run this script run.sh from the amplExamples
> directory
>
> export PATH=$PATH:../../bin
> #
> #  Set up lib path
> export LIBPATH=$LIBPATH:../../lib
> #
> echo 'LIBPATH'
> printenv LIBPATH
> echo 'PATH'
> printenv PATH
> ampl toy.mod
>
> This is the output I get
>
>
> Andre-Girards-MacBook-Pro:amplExamples andre$ sh run.sh
> LIBPATH
> :../../lib
> PATH
>
> /opt/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/texbin:/usr/X11/bin:../../bin
> dyld: Library not loaded:
> /Users/kmartin/coin/COINNightlyBuild/Bonmin/releases-0.99.2-default/lib/libbonminampl.0.dylib
>  Referenced from:
> /Users/andre/Desktop/Bonmin-0.99.2-mac-osx-ix86-gcc4.0.1/examples/amplExamples/../../bin/bonmin
>  Reason: image not found
> error running bonmin:
>        termination code 5
> <BREAK>
>
> A workaround would be greatly appreciated.
>
> I tried to post a bug report on trac but I was not able find a button to
> register. Maybe someone can point me in the right direction so that I can
> file a bug.
>
> Regards
>
> A. Girard
>
> _______________________________________________
> Bonmin mailing list
> Bonmin at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/bonmin
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/bonmin/attachments/20120125/356d182f/attachment.html>


More information about the Bonmin mailing list