#30: Eclipse fails to launch with shared library error

Solved!
After upgrading to Eclipse 3.4.2 on Mac OS X 10.5, I receive an error message at launch:

The Eclipse executable launcher was unable to locate its companion shared library

Fix the Eclipse launcher shared library path

-17
It turns out that after the upgrade process, the shared library path in Eclipse.app/Contents/MacOS/eclipse.ini was not modified to use the new launcher. Fixing this involved changing the path from its previous value to
org.eclipse.equinox.launcher.carbon.macosx_1.0.101.R34x_v20080731, or whatever you actually have at the path plugins/org.eclipse.equinox.launcher.*.

Once this path is corrected, the app launches normally.

Comments

  1. how

    Unknown_user_icon blinktank on February 05, 2012, 11:54 PM UTC
  2. Just check the launcher.library and startup paths in the eclipse.ini file.
    check, is it correct or not and you get away from this error.
    example :
    previous paths for my system in eclipse.ini was
    --launcher.library
    \\VBOXSVR\plugins\org.eclipse.equinox.launcher.win32.win32.x86_1.1.100.v20110502
    -startup
    \\VBOXSVR\plugins\org.eclipse.equinox.launcher_1.2.0.v20110502.jar
    which i changed to this ones
    --launcher.library
    D:\eclipse\plugins\org.eclipse.equinox.launcher.win32.win32.x86_1.1.100.v20110502
    -startup
    D:\eclipse\plugins\org.eclipse.equinox.launcher_1.2.0.v20110502.jar
    Now error is gone away.

    mohiz tank on April 25, 2012, 07:53 AM UTC

Think you've got a better solution? Help 92049143cabb7ba896d7c06e19906303_small yliu out by posting your solution

Thomas Amsler: The Eclipse executable launcher was unable to locate its companion shared library

http://tamsler.blogspot.com/2008/10/eclipse-executable-launcher-was-unable.html - found by 92049143cabb7ba896d7c06e19906303_small yliu on April 02, 2009, 06:51 AM UTC

The post is a valid strategy, but the comments section has a note about editing Eclipse.app/Contents/MacOS/eclipse.ini that seems cleaner

Tags: Eclipse ini OS X