Golly cannot start on OS X 10.9.2

Has something gone haywire? Let us know about it!
Post Reply
User avatar
alphonse23
Posts: 8
Joined: May 4th, 2015, 2:43 am

Golly cannot start on OS X 10.9.2

Post by alphonse23 » May 4th, 2015, 3:02 am

When I try starting golly from the commandline, I get this error:

Code: Select all

$ ./Golly
dyld: Library not loaded: /System/Library/Frameworks/Python.framework/Versions/2.7/Python
  Referenced from: /Users/Sean/Downloads/golly-2.7b3-mac109/Golly.app/Contents/MacOS/./Golly
  Reason: no suitable image found.  Did find:
	/System/Library/Frameworks/Python.framework/Versions/2.7/Python: no matching architecture in universal wrapper
	/Library/Frameworks/Python.framework/Versions/2.7/Python: no matching architecture in universal wrapper
	/System/Library/Frameworks/Python.framework/Versions/2.7/Python: no matching architecture in universal wrapper
Trace/BPT trap: 5
Something to do with python it would seem.

User avatar
Andrew
Moderator
Posts: 935
Joined: June 2nd, 2009, 2:08 am
Location: Melbourne, Australia
Contact:

Re: Golly cannot start on OS X 10.9.2

Post by Andrew » May 4th, 2015, 4:07 am

What sort of shell are you using? If I try that command on my 10.9.4 system I get this error:

Code: Select all

$ ./Golly
-bash: ./Golly: No such file or directory
Maybe try "open Golly.app". That works for me.

Also, does your system have Python 2.7? Try this command:

Code: Select all

$ python --version
Python 2.7.5
Finally, are you sure your Mac is running 10.9.x? The error "no suitable image found" is what I'd expect if you try running golly-2.7b3-mac109 on 10.8 or older.
Use Glu to explore CA rules on non-periodic tilings: DominoLife and HatLife

User avatar
alphonse23
Posts: 8
Joined: May 4th, 2015, 2:43 am

Re: Golly cannot start on OS X 10.9.2

Post by alphonse23 » May 4th, 2015, 4:36 pm

This is how I'm running it.

Code: Select all

$ cd /golly-2.7b3-mac109/Golly.app/Contents/MacOS
$ ./Golly
To get that error message, I run that from the shell -- oh I'm using bash by the way.

Code: Select all

$ echo $SHELL
/bin/bash
And I'm running OS X version 10.9.2.

Python is 2.7:

Code: Select all

$ python --version
Python 2.7
I do have Python 3, but it runs under alias python3.

When I run from Finder, I get that error in the other thread like this one: viewtopic.php?f=4&t=1226

I tried the perl thing:

Code: Select all

install_name_tool -change /System/Library/Perl/lib/5.10/libperl.dylib /System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/libperl.dylib Golly.app/Contents/MacOS/Golly
the script runs without error, but doesn't fix anything.

I think this is a python error.

Thanks Andrew -- this looks like a mighty nice community. Conway's game of life is so fascinating.

User avatar
Andrew
Moderator
Posts: 935
Joined: June 2nd, 2009, 2:08 am
Location: Melbourne, Australia
Contact:

Re: Golly cannot start on OS X 10.9.2

Post by Andrew » May 4th, 2015, 6:12 pm

All I can suggest is updating your system to 10.9.4 and hope it fixes your Python installation. Golly definitely runs fine on 10.9.4, and there's no need to use install_name_tool.
Use Glu to explore CA rules on non-periodic tilings: DominoLife and HatLife

User avatar
alphonse23
Posts: 8
Joined: May 4th, 2015, 2:43 am

Re: Golly cannot start on OS X 10.9.2

Post by alphonse23 » May 5th, 2015, 6:39 am

Thanks Andrew that worked. After like waiting 5-6 hours my OS has been updated -- to 10.10.3 Yosemite. At first I thought that might have been a mistake, but I can run Golly now. THANKS!

Golly is so awesome!

Post Reply