Wednesday, June 27, 2012

 

Optima install error on linux: "cannot open shared object file"

Q: Installing Optima 2.7 on Fedora and getting this error:

Launching the Enea Installation Program on display  :0.0...
Exception in thread "main" java.lang.UnsatisfiedLinkError:  /tmp/ose_NBsvM5/jre_linux/lib/i386/xawt/libmawt.so: libXext.so.6:  cannot open shared object file: No such file or directory

... followed by a long stack trace from the java.lang.ClassLoader.  I have Java installed in /usr/bin/java and mine includes the JRE:

$ java -version
java version "1.6.0"
OpenJDK  Runtime Environment  (build 1.6.0-b09)
OpenJDK 64-bit Server VM (build 1.6.0-b09, mixed mode)
 
 so why didn't it find it?

A: If you have your own java and/or the JRE installed, sometimes the installer is looking in a different place for it. This is often the case on Linux distros not in the list of "official" supported distros. The best way around this is to invoke the installer script directly on the command line and referencing the java release path on your system in the same command:

$ cd /media/Optima2.7
$ which java
/usr/bin/java
$./install.sh -j /usr/bin/java

This should be enough to get your install going.

Labels: , ,


Comments: Post a Comment



<< Home

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

free web hit counter
free invisible web counter