nwhitehead / pineapple

http://nwhitehead.github.io/pineapple/
Other
352 stars 26 forks source link

Crashes upon startup on Mac OS X 10.8.5 #15

Open fingolfin opened 9 years ago

fingolfin commented 9 years ago

Apparently Pineapple.app/Contents/MacOS/libwx_osx_cocoau-3.1.dylib links against /usr/lib/liblzma.5.dylib which does not exist on 10.8.5.

nwhitehead commented 9 years ago

Hi Max,

Thanks for the report, that's great to know. Right now I'm only doing compatibility testing on 10.9 and 10.10. I looked up liblzma and saw some notes about wxwidgets and os x versions. My plan is to try some different compiler flags, I'm hoping that will solve the issue. If not hopefully you can let me know in the next release round.

Best,

Nathan

On Tue, Sep 8, 2015 at 6:20 AM, Max Horn notifications@github.com wrote:

Apparently Pineapple.app/Contents/MacOS/libwx_osx_cocoau-3.1.dylib links against /usr/lib/liblzma.5.dylib which does not exist on 10.8.5.

— Reply to this email directly or view it on GitHub https://github.com/nwhitehead/pineapple/issues/15.

nwhitehead commented 9 years ago

OK, I updated the wxwidgets compile flags and used the new compiled library for release v0.6. Using otool -L I no longer see lzma. Fingers crossed that it now works on 10.8.

nwhitehead commented 9 years ago

Closing since this should be fixed, please reopen if you notice it is not fixed.

fingolfin commented 9 years ago

Sorry, I didn't see your prior comment.

I just downloaded 0.7.4. Trying to launch it from the .dmg results in an error by the OS: “Pineapple-Pro.app” is damaged and can’t be opened. You should eject the disk image. The same happens if I first copy it to the HD.

However, I cannot reopen this issue, it seems. Should I file a new one?

nwhitehead commented 9 years ago

Reopened. This is probably still a linking issue, I think the way to fix this is to build on 10.8.

CodeSturgeon commented 9 years ago

Just ran in a similar-ish problem on 10.10.5 with version 0.8.0 (python2.7 full). However, for me it said:

$ /Applications/Pineapple.app/Contents/MacOS/Pineapple 
dyld: Library not loaded: /usr/local/lib/libwx_osx_cocoau-3.1.dylib
  Referenced from: /Applications/Pineapple.app/Contents/MacOS/Pineapple
  Reason: image not found
Trace/BPT trap: 5

Happily I noticed that the missing lib is in /Applications/Pineapple.app/Contents/MacOS/ and I can get Pineapple running by copying it in to /usr/local/lib/ along side my homebrew stuff.