2005-12-29

ganttproject, awt and x11

I was looking for a project management tool that runs on Linux.
I thought I would try the preview of version 2.0 of GanttProject.
Downloaded and installed.
When running I got the following error:

java.lang.UnsatisfiedLinkError: /usr/java/j2sdk1.4.2_10/jre/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(ClassLoader.java:1586)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1503)
at java.lang.Runtime.loadLibrary0(Runtime.java:788)
at java.lang.System.loadLibrary(System.java:834)
at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:50)
at java.security.AccessController.doPrivileged(Native Method)
at sun.awt.NativeLibLoader.loadLibraries(NativeLibLoader.java:38)
at sun.awt.DebugHelper.(DebugHelper.java:29)
at java.awt.Component.(Component.java:506)
at net.sourceforge.ganttproject.application.MainApplication.run(MainAppl ication.java:33)
at org.bardsoftware.impl.eclipsito.ApplicationLauncher.launchApplication (ApplicationLauncher.java:29)
at org.bardsoftware.impl.eclipsito.BootImpl$2.run(BootImpl.java:45)


Had to install xorg-x11-deprecated-libs package by running

> yum install xorg-x11-deprecated-libs


And it worked!
(don't ask me why...)