mapmapteam / mapmap

Open source video mapping software
http://www.mapmap.info
GNU General Public License v3.0
424 stars 61 forks source link

Bundled .dmg contains reference to unbundled library on Mac OSX #233

Open sofian opened 8 years ago

sofian commented 8 years ago
Dyld Error Message:
  Library not loaded: /Library/Frameworks/GStreamer.framework/Versions/1.0/lib/libgstapp-1.0.0.dylib
  Referenced from: /Volumes/MapMap-0.4.0-1/MapMap.app/Contents/Frameworks/GStreamer.framework/Versions/1.0/lib/GStreamer
  Reason: Incompatible library version: GStreamer requires version 601.0.0 or later, but libgstapp-1.0.0.dylib provides version 205.0.0
maxdee commented 8 years ago

This is the error I get on the Mac mini with OSX 10.10.3 and MapMap-0.4.0-1. I attach the log. osx_10_10_mapmap_bug.txt

sofian commented 8 years ago

Yes, seems to be the same error. The problem being that the libgstapp-1.0.0.dylib should be referred to relative to the bundle rather than to the absolute path /Library/Frameworks/GStreamer.framework/Versions/1.0. I'll fix it as soon as I can get my hands on a Mac...

sofian commented 8 years ago

This script might be useful: https://github.com/EricssonResearch/cerbero/blob/master/cerbero/tools/osxrelocator.py

aalex commented 8 years ago

We do have a laptop with OS X 10.11 at PDS! I am there right now, and we would like to run MapMap on it.