kobokod.app crashes on start (Mac OS X)

Bug #576793 reported by Yawar Quadir Amin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
koboko
New
Undecided
Unassigned

Bug Description

Branch: koboko-devel
revno: 3

Double-clicking on kobokod.app or typing `open kobokod.app' at the command line causes Koboko to start and then immediately crash with the following error.

Dyld Error Message:
  Library not loaded: libkobokod.0.dylib
  Referenced from: /Users/yawar/Documents/code/koboko-devel/bin/kobokod.app/Contents/MacOS/kobokod
  Reason: image not found

The libkobokod.0.dylib file is in the bin directory, but it's not seen by the application.

Revision history for this message
Yawar Quadir Amin (yawar.amin) wrote :

I can start the program, though, by running the compiled executable instead of the Mac OS application bundle:

$ kobokod.app/Contents/MacOS/kobokod

Will try to debug this weekend.

Revision history for this message
darkadept (darkadept) wrote :

I do not have a mac so I cannot test it unfortunately.

It looks to be a similar problem that I was getting when trying to run the linux version. The application cannot find the dynamic library (.so in linux, .dylib in mac) because it is not in the path.

Under linux I use the "start_koboko.sh" shell script to set the LD_LIBRARY_PATH environment variable so it knows where to find that dynamic library.

From a bit of googling it seems that mac has a DYLD_LIBRARY_PATH that is similar to the linux one.

I have not packaged the linux version yet but if I did I would probably put libkoboko.so in /usr/lib so the LD_LIBRARY_PATH would be unnecessary. Under mac i'm sure there is some proper way to distribute programs along with their libraries but I have no idea how.

I am trying to keep the code and project files as platform agnostic as possible.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.