nwhitehead / pineapple

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

libwx_osx_cocoau-3.1.dylib not found #57

Open ales-tsurko opened 8 years ago

ales-tsurko commented 8 years ago

Hi there,

I just installed the binary package from the site (for Python 2.7). And on running I got this

Library not loaded: /usr/local/lib/libwx_osx_cocoau-3.1.dylib
Referenced from: /Applications/Pineapple.app/Contents/MacOS/Pineapple
Reason: image not found

It looks like I need libwx_osx_cocoau-3.1.dylib, but it's not installed by default. Furthermore, there is no any installer in the downloaded disk image, just app bundle...

I'll try to build from source. Just letting you know about this problem. I'm on OS X 10.11.3. Here is the full report:

Process:               Pineapple [1145]
Path:                  /Applications/Pineapple.app/Contents/MacOS/Pineapple
Identifier:            Pineapple
Version:               ???
Code Type:             X86-64 (Native)
Parent Process:        ??? [1]
Responsible:           Pineapple [1145]
User ID:               503

Date/Time:             2016-02-25 12:38:41.522 +0300
OS Version:            Mac OS X 10.11.3 (15D21)
Report Version:        11
Anonymous UUID:        10DF453C-7237-E605-90A3-82A8A27594E9

Time Awake Since Boot: 1100 seconds

System Integrity Protection: enabled

Crashed Thread:        0

Exception Type:        EXC_BREAKPOINT (SIGTRAP)
Exception Codes:       0x0000000000000002, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

Application Specific Information:
dyld: launch, loading dependent libraries

Dyld Error Message:
  Library not loaded: /usr/local/lib/libwx_osx_cocoau-3.1.dylib
  Referenced from: /Applications/Pineapple.app/Contents/MacOS/Pineapple
  Reason: image not found

Binary Images:
    0x7fff6064b000 -     0x7fff60682007  dyld (360.19) <9D05FDF4-65CE-3B53-86D4-ABE1A5BF35F3> /usr/lib/dyld
    0x7fff97152000 -     0x7fff97152fff  com.apple.Cocoa (6.11 - 22) <0A634D46-B468-3CBC-B2A0-16C381C11BF2> /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa
    0x7fff992b9000 -     0x7fff992b9fff  com.apple.Carbon (154 - 157) <34263101-328D-3FE4-B212-14BD3CFF6965> /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
    0x7fff99d4c000 -     0x7fff99d5afff  com.apple.opengl (12.0.40 - 12.0.40) <D37D88AE-0731-3105-99AB-984DA9B9BCE6> /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
    0x7fff9c244000 -     0x7fff9c3eaff7  com.apple.audio.toolbox.AudioToolbox (1.13 - 1.13) <F912765D-88ED-3324-B512-3778A8CE878B> /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox
    0x7fffa008b000 -     0x7fffa008cffb  libSystem.B.dylib (1226.10.1) <5A4257EF-3145-3BB3-87A4-0D2404A9462D> /usr/lib/libSystem.B.dylib
    0x7fffa150e000 -     0x7fffa1582fff  com.apple.framework.IOKit (2.0.2 - 1179.20.6) <D92E537D-F96D-39E1-B9AC-9A18943AFCC7> /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit

Model: MacBookPro9,2, BootROM MBP91.00D3.B0C, 2 processors, Intel Core i5, 2,5 GHz, 4 GB, SMC 2.2f44
Graphics: Intel HD Graphics 4000, Intel HD Graphics 4000, Built-In
Memory Module: BANK 0/DIMM0, 2 GB, DDR3, 1600 MHz, 0x80AD, 0x484D54333235533643465238432D50422020
Memory Module: BANK 1/DIMM0, 2 GB, DDR3, 1600 MHz, 0x80AD, 0x484D54333235533643465238432D50422020
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0xF5), Broadcom BCM43xx 1.0 (7.21.94.136.1a1)
Bluetooth: Version 4.4.3f4 16616, 3 services, 27 devices, 1 incoming serial ports
Network Service: Gene, AirPort, en1
Serial ATA Device: APPLE HDD HTS547550A9E384, 500,11 GB
Serial ATA Device: MATSHITADVD-R   UJ-8A8
USB Device: USB 2.0 Bus
USB Device: Hub
USB Device: FaceTime HD Camera (Built-in)
USB Device: USB 2.0 Bus
USB Device: Hub
USB Device: Hub
USB Device: Apple Internal Keyboard / Trackpad
USB Device: IR Receiver
USB Device: BRCM20702 Hub
USB Device: Bluetooth USB Host Controller
USB Device: USB 3.0 Bus
USB Device: Lexicon Alpha
Thunderbolt Bus: MacBook Pro, Apple Inc., 25.1
adib commented 8 years ago

Duplicate of #48 – solution is also there.

$ install_name_tool -change /usr/local/lib/libwx_osx_cocoau-3.1.dylib @executable_path/libwx_osx_cocoau-3.1.dylib /Applications/Pineapple.app/Contents/MacOS/Pineapple
$ /Applications/Pineapple.app/Contents/MacOS/Pineapple
pog87 commented 8 years ago

I solved it this way

sudo cp /Applications/Pineapple.app/Contents/MacOS/libwx_osx_cocoau-3.1.dylib /usr/local/lib/