Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-swt-dev] Eclipse doesn't "just go" on Linux


Here's a useful link...
    http://mmoebius.gmxhome.de/eclipse/downloads/mini-HOWTO.html

McQ.



Jared Burns <jared-eclipse@xxxxxxxxx>
Sent by: platform-swt-dev-admin@xxxxxxxxxxx

04/16/2002 03:17 PM
Please respond to platform-swt-dev

       
        To:        platform-swt-dev@xxxxxxxxxxx
        cc:        
        Subject:        [platform-swt-dev] Eclipse doesn't "just go" on Linux


Hola.

Eclipse doesn't work out of the box on Linux.

Steps to success:
1. Unzip Eclipse
2. Type /path/to/eclipse to launch
3. Receive the error:
"./path/to/eclipse: error while loading shared libraries: libXm.so.2: cannot
open shared object file: No such file or directory"

The Eclipse launcher should append the Eclipse install directory to the
LD_LIBRARY_PATH. The only reason this isn't necessary on Windows is that
Windows happens to do this for you.

There are two obvious ways to achieve victory here. Either add the code to
programmatically append the install dir to LD_LIBRARY_PATH to the Eclipse
executable or we could rename the executable (to, say, "runEclipse") and
create an executable shell script which would basically read:

LD_LIBRARY_PATH=`dirname $0`:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH
exec runEclipse

This last version is how the Sun and IBM VMs get around the LB_LIBRARY_PATH
issue. Take a look at the file named "java" in the JDK/bin directory on a
Linux box for an example.

- Jared
_______________________________________________
platform-swt-dev mailing list
platform-swt-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/platform-swt-dev



Back to the top