Menu

#8 Synthclipse 2.10 don't run on mac

2.0
closed
nobody
2018-04-22
2018-01-27
Pedro Lopez
No

Hello kamil,
On last relese - synthclipse-2.1.0-eclipse-oxygen-macosx-cocoa-x86_64
To run the app I just needed to change the eclipse file to executable and happily it works.

eclipse.app/Contents/MacOS/eclipse

ls -l
-rw-r--r--@ 1 eb staff 37056 18 dic 09:05 eclipse

chmod +x eclipse
-rwxr-xr-x@ 1 eb staff 37056 18 dic 09:05 eclipse

I am using mac osx 10.11.6 in imac of 2007 and I am also testing it in a macbook pro 15 '' 2013 with 10.13.3

Thank you very much for your excellent software!!!!

Discussion

  • Kamil Kolaczynski

    • status: open --> pending
     
  • Pedro Lopez

    Pedro Lopez - 2018-01-29

    Hi Kamil,

    It's correct, it starts
    but...

    A lot of java.lang.UnsatisfiedLinkError appear linking this route : /Users/achoj/se/synthclipse_native/build/Release/SynthclipseCommon/libSynthclipseCommon.dylib
    Reason: image not found

    Well, I've placed all the libraries on the route and from what I've seen so far it's working;)

    I am at your disposal for any test you need on mac.

    Best regards
    Pedro

     
  • Kamil Kolaczynski

    Thanks for checking!
    I will see in the evening (CET time) if I will be able to fix broken paths inside dylib files and then I will ask you for help with testing.

    BR,
    Kamil

     
  • Kamil Kolaczynski

    Hi Pedro,
    Sorry for the delay. I've been doing much overtime at work lately.

    Basically I know how to fix the .dylib files but I don't have a Mac to apply it (only some very old Mac Mini 10.8.0 Darwin which is not suitable for this task). The libraries were built by my friend but I don't have contact with him anymore.

    May I ask you to fix the libraries? Here's how to do it:

    # go to libraries folder
    $ cd Eclipse.app/Contents/Eclipse/plugins/org.synthclipse.media-macosx-universal_2.0.1.201801232052/
    # with otool you can list all hardcoded paths to other libs inside a dylib file:
    $ otool -L libSynthclipseCore.dylib 
    
    libSynthclipseCore.dylib:
        /Users/achoj/se/synthclipse_native/build/Release/SynthclipseCore/libSynthclipseCore.dylib (compatibility version 0.0.0, current version 0.0.0)
        /Users/achoj/se/synthclipse_native/build/Release/SynthclipseCommon/libSynthclipseCommon.dylib (compatibility version 0.0.0, current version 0.0.0)
        @loader_path/libGLEW.dylib (compatibility version 1.11.0, current version 1.11.0)
        /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL (compatibility version 1.0.0, current version 1.0.0)
        /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (compatibility version 150.0.0, current version 1153.18.0)
        /usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 120.0.0)
        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1213.0.0)
    
    # To fix the paths you need to use install_name_tool like below:
    
    $ install_name_tool -change /Users/achoj/se/synthclipse_native/build/Release/SynthclipseCommon/libSynthclipseCommon.dylib @loader_path/libSynthclipseCommon.dylib libSynthclipseCore.dylib
    $ install_name_tool -change /Users/achoj/se/synthclipse_native/build/Release/SynthclipseCore/libSynthclipseCore.dylib @loader_path/libSynthclipseCore.dylib libSynthclipseCore.dylib
    $ install_name_tool -change /Users/achoj/se/synthclipse_native/build/Release/SynthclipseCommon/libSynthclipseCommon.dylib @loader_path/libSynthclipseCommon.dylib libSynthclipseCommon.dylib
    $ install_name_tool -change /Users/achoj/se/synthclipse_native/build/Release/SynthclipseCommon/libSynthclipseCommon.dylib @loader_path/libSynthclipseCommon.dylib libSynthclipseIDECore.dylib
    $ install_name_tool -change /Users/achoj/se/synthclipse_native/build/Release/SynthclipseCore/libSynthclipseCore.dylib @loader_path/libSynthclipseCore.dylib libSynthclipseIDECore.dylib
    $ install_name_tool -change /Users/achoj/se/synthclipse_native/build/Release/SynthclipseIDECore/libSynthclipseIDECore.dylib @loader_path/libSynthclipseIDECore.dylib libSynthclipseIDECore.dylib
    $ install_name_tool -change /Users/achoj/se/synthclipse_native/build/Release/SynthclipseCommon/libSynthclipseCommon.dylib @loader_path/libSynthclipseCommon.dylib libSynthclipseOpenEXR.dylib
    $ install_name_tool -change /Users/achoj/se/synthclipse_native/build/Release/SynthclipseCore/libSynthclipseCore.dylib @loader_path/libSynthclipseCore.dylib libSynthclipseOpenEXR.dylib    
    $ install_name_tool -change /Users/achoj/se/synthclipse_native/build/Release/SynthclipseOpenEXR/libSynthclipseOpenEXR.dylib @loader_path/libSynthclipseOpenEXR.dylib libSynthclipseOpenEXR.dylib
    

    After applying install_name_tool to all mentioned libs please check with otool if the incorrect paths dissappeared.

    If you will succeed please send me files:

    libSynthclipseCore.dylib
    libSynthclipseCommon.dylib 
    libSynthclipseIDECore.dylib 
    libSynthclipseOpenEXR.dylib 
    

    to email address: synthclipse@gmail.com

    Thanks in advance!
    Kamil

     
  • Kamil Kolaczynski

    Fixed in version 2.1.1 with help of David Naranjo.
    Thank you both for help guys.

     
  • Kamil Kolaczynski

    • status: pending --> closed
     

Log in to post a comment.

MongoDB Logo MongoDB