Archive for October, 2008

10.01.08

“the eclipse executable launcher was unable to locate its companion shared library” AKA Fixing eclipse for mac os x

Posted in programming at 15:11 by dalore

Recently I did an upgrade of eclipse within eclipse using the “software updates” feature as well as adding some packages like svn and coldfusion for eclipse. When I restarted I ran into a small issue, it wouldn’t start.

The error message I kept getting was

the eclipse executable launcher was unable to locate its companion shared library

Now googling error messages normally shows someone whose experienced it and a solution, not in this case.

Digging around I found the the eclipse binary in:

/Applications/eclipse/Eclipse.app/Contents/MacOS

There is a file called eclipse and an eclipse.ini. Running this binary gave me this error:

 ./eclipse
dlopen(../../../plugins/org.eclipse.equinox.launcher.carbon.macosx_1.0.100.v20080509-1800, 2): image not found

Indeed I verified that such a file no longer existed, I did notice something similarly named. I edited the eclipse.ini file and replaced it:

../../../plugins/org.eclipse.equinox.launcher.carbon.macosx_1.0.101.R34x_v20080731

It then started up as normal.