Ticket #1073 (closed defect: fixed)
Mac OS Lion : compilation script forgets to move dylib files in .app package.
|Reported by:||pbernery||Owned by:|
|Priority:||Should Have||Milestone:||Alpha 9|
|Component:||Build & Packages||Keywords:|
The produced .app folder is not usable as is because the .dylib files built are not copied or linked in the pyrogenesis folder. When trying to execute pyrogenesis, the following error occurs:
dyld: Library not loaded: @executable_path/libmozjs185-ps-release.1.0.dylib Referenced from: <ad>/binaries/system/pyrogenesis.app/Contents/MacOS/./pyrogenesis Reason: image not found
I managed to make it work by making a symbolic link of all dylib files in the pyrogenesis folder:
cd <ad>/binaries/system/pyrogenesis.app/Contents/MacOS ln -s ../../../*.dylib .
The executable launches (on the command line only by typing ./pyrogenesis, not by opening the .app folder) and works pretty well. I just miss the sound but this should be another problem.
- Component changed from Non-game systems to Build system