Another installation on Mac OS 10.7 issue

Discussions on installation issues go here.

Moderator: Moderators

gordonfroyle
Posts: 15
Joined: 15 Feb 2011, 08:07

Another installation on Mac OS 10.7 issue

Postby gordonfroyle » 07 Jul 2012, 14:00

Having successfully installed the bundle on my iMac, I decided to install on my MacBook Pro...

I repeated exactly the same steps ... but this time failure

Code: Select all

Gordon-Royles-MacBook-Pro:polymake.app gordon$ /Applications/polymake.app/Contents/MacOS/polymake.start Can't load shared module /Applications/polymake.app/Contents/MacOS/../Resources//polymake/lib/polymake/lib/core.bundle: dlopen(/Applications/polymake.app/Contents/MacOS/../Resources//polymake/lib/polymake/lib/core.bundle, 9): Library not loaded: /Users/paffenholz/polybundle-2.12/src/polymake.app/Contents/Resources/lib/libgmp.10.dylib Referenced from: /Applications/polymake.app/Contents/MacOS/../Resources//lib/libmpfr.4.dylib Reason: image not found at /Applications/polymake.app/Contents/MacOS/../Resources//polymake/share/polymake/perllib/Polymake/Core/CPlusPlus.pm line 3021.
Both machines are running fully updated 10.7.4 and they seem *almost* identical software wise... here's the output from "uname -a" on the two machines

Darwin verticordia.maths.uwa.edu.au 11.4.0 Darwin Kernel Version 11.4.0: Mon Apr 9 19:32:15 PDT 2012; root:xnu-1699.26.8~1/RELEASE_X86_64 x86_64

Darwin Gordon-Royles-MacBook-Pro.local 11.4.0 Darwin Kernel Version 11.4.0: Mon Apr 9 19:32:15 PDT 2012; root:xnu-1699.26.8~1/RELEASE_X86_64 x86_64 i386

(I'm not sure why the MacBook Pro has the i386 AND the x86_64.....)

paffenholz
Developer
Posts: 182
Joined: 24 Dec 2010, 13:47

Re: Another installation on Mac OS 10.7 issue

Postby paffenholz » 07 Jul 2012, 14:43

The problem is the absolute path for libgmp compiled into libmpfr, this directory can't exist on your Macbook. It is surprising that it worked on the other. I will replace the path with a relative one in the next days and upload a new version. Sorry.

paffenholz
Developer
Posts: 182
Joined: 24 Dec 2010, 13:47

Re: Another installation on Mac OS 10.7 issue

Postby paffenholz » 09 Jul 2012, 00:03

I have uploaded a corrected version of the bundle (now version 4) that hopefully fixes all path issues. Thanks for reporting this error!

gordonfroyle
Posts: 15
Joined: 15 Feb 2011, 08:07

Re: Another installation on Mac OS 10.7 issue

Postby gordonfroyle » 09 Jul 2012, 07:03

I have uploaded a corrected version of the bundle (now version 4) that hopefully fixes all path issues. Thanks for reporting this error!
Thanks... this now works on the laptop.

It is really miraculous that -v3 worked on the desktop - could it perhaps have picked up a GMP install somewhere in the system, and not tried to use the incorrect path?

Anyway I'll delete it and install -v4 on both machines.

paffenholz
Developer
Posts: 182
Joined: 24 Dec 2010, 13:47

Re: Another installation on Mac OS 10.7 issue

Postby paffenholz » 09 Jul 2012, 09:58

It is really miraculous that -v3 worked on the desktop - could it perhaps have picked up a GMP install somewhere in the system, and not tried to use the incorrect path?
It would not look just somewhere. Maybe you have defined an LD_LIBRARY_PATH variable on one machine, or a DYLD_FALLBACK_PATH pointing to some other gmp? If you did not use the exact same commands it might also be that on the first computer it just did not need to load the lib yet, so it did not notice the wrong path.

gordonfroyle
Posts: 15
Joined: 15 Feb 2011, 08:07

Re: Another installation on Mac OS 10.7 issue

Postby gordonfroyle » 09 Jul 2012, 10:17

Ah, yes

Code: Select all

echo $LD_LIBRARY_PATH :/Library/gurobi450/mac64/lib


Return to “Installing polymake”

cron