Friday, March 26, 2010

 

Install errors on non-supported Linux distros

Q: I'm trying to install OSE5.x/Optima products from CD on a Linux system. I got the following error during installation looking for a missing lib:

[root@localhost OSE5.4.2_PPC]# ./install.sh Welcome to the Enea Installation Program!
Creating the temporary directory...
Unzipping the Java Runtime Environment...
Launching the Enea Installation Program on display :0.0...
Exception in thread "main" java.lang.UnsatisfiedLinkError:
/tmp/ose_J6UME4/jre_linux/lib/i386/libawt.so: libXp.so.6: cannot open shared object file: No such file or directory
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(Unknown Source)
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at sun.security.action.LoadLibraryAction.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.awt.NativeLibLoader.loadLibraries(Unknown Source)
at sun.awt.DebugHelper.(Unknown Source)
at java.awt.Component.(Unknown Source) Removing the temporary directory...

A: This error only occurs for the Linux distributions that are not officially support for OSE and Optima. Currently, the officially supported Linux distributions are:

* Suse Linux Enterprise Server 10
* Suse Linux Enterprise Desktop 10

The X11 shared library libXp.so.6 is required by JRE (Java RuntimeEnvironment) 1.4.2 used by the Enea installation program. If that library is missing you can try one of the three following things:
1. Make sure libXp.so.6 is installed.
2. If you have a newer version of libXp.so, try to create a link in that directory that is called libXp.so.6 and points to the newer version of libXp.so.
3. Use another JRE (1.4.2 or newer) that is installed on the Linux machine when starting the Enea installation program, e.g. "install.sh -j /usr/local/bin/java".

Option 3 is generally the most effective.

Labels: , , ,


Comments: Post a Comment



<< Home

This page is powered by Blogger. Isn't yours?

free web hit counter
free invisible web counter