Qt-jambi-interest Archive, October 2006
Problems running on Redhat Linux
Message 1 in thread
I know there is no technical support but I was wondering if anyone else has
experienced this problem.
I'm attempting to run the demo in the following environment:
Java:
java version "1.5.0_03"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_03-b07)
Java HotSpot(TM) Server VM (build 1.5.0_03-b07, mixed mode)
OS:
Linux frln03.foxriver.com 2.4.21-47.ELsmp #1 SMP Wed Jul 5 20:38:41 EDT 2006
i686 i686 i386 GNU/Linux
Red Hat Enterprise Linux WS release 3 (Taroon Update 8)
I'm getting the following error
Exception in thread "main" java.lang.UnsatisfiedLinkError: __qt_initLibrary
at
com.trolltech.qt.core.QtJambi_LibraryInitializer.__qt_initLibrary(Native
Method)
at
com.trolltech.qt.core.QtJambi_LibraryInitializer.<clinit>(QtJambi_LibraryInitializer.java:10)
at
com.trolltech.qt.core.QAbstractFileEngineHandler.<clinit>(QAbstractFileEngineHandler.java:7)
at
com.trolltech.qt.QtJambi_LibraryInitializer.<clinit>(QtJambi_LibraryInitializer.java:25)
at com.trolltech.qt.QtObject.<clinit>(QtObject.java:27)
I've manually set my PATH and LD_LIBRARY_PATH to only have what is needed.
Any ideas?
Thanks,
Mike
Message 2 in thread
Hi, Mike.
Mike Perik wrote:
>I know there is no technical support but I was wondering if anyone else has
>experienced this problem.
>
>
>
[..]
>I'm getting the following error
>
>Exception in thread "main" java.lang.UnsatisfiedLinkError: __qt_initLibrary
> at
>
[..]
>Any ideas?
>
>
This error indicates that Java is either failing to find or failing to
load the native libraries needed for Qt Jambi.
Does running the qtjambi.sh script work for you? And could you post back
exactly what your LD_LIBRARY_PATH is set to, please, and the command you
are using to run the application?
best regards,
Eskil
Message 3 in thread
Here is the output. I added a print out of the command line in the qtjambi.sh
script. It's at the end
[mikep@frln03 qtjambi-linux-1.0.0-tp3] > ./qtjambi.sh
Exception in thread "main" java.lang.UnsatisfiedLinkError: __qt_initLibrary
at
com.trolltech.qt.core.QtJambi_LibraryInitializer.__qt_initLibrary(Native
Method)
at
com.trolltech.qt.core.QtJambi_LibraryInitializer.<clinit>(QtJambi_LibraryInitializer.java:10)
at
com.trolltech.qt.core.QAbstractFileEngineHandler.<clinit>(QAbstractFileEngineHandler.java:7)
at
com.trolltech.qt.QtJambi_LibraryInitializer.<clinit>(QtJambi_LibraryInitializer.java:25)
at com.trolltech.qt.QtObject.<clinit>(QtObject.java:27)
PATH=./bin:/usr/java/jdk1.5/bin:/usr/bin:/bin
LD_LIBRARY_PATH=./lib:/usr/lib:/lib java -cp ./qtjambi.jar:.
com.trolltech.launcher.Launcher
On Friday 27 October 2006 08:56, Eskil A. Blomfeldt wrote:
> Hi, Mike.
>
> Mike Perik wrote:
> >I know there is no technical support but I was wondering if anyone else
> > has experienced this problem.
>
> [..]
>
> >I'm getting the following error
> >
> >Exception in thread "main" java.lang.UnsatisfiedLinkError:
> > __qt_initLibrary at
>
> [..]
>
> >Any ideas?
>
> This error indicates that Java is either failing to find or failing to
> load the native libraries needed for Qt Jambi.
>
> Does running the qtjambi.sh script work for you? And could you post back
> exactly what your LD_LIBRARY_PATH is set to, please, and the command you
> are using to run the application?
>
> best regards,
> Eskil
--
[ signature omitted ]
Message 4 in thread
Mike Perik wrote:
> Here is the output. I added a print out of the command line in the qtjambi.sh
> script. It's at the end
>
>
>
> [mikep@frln03 qtjambi-linux-1.0.0-tp3] > ./qtjambi.sh
> Exception in thread "main" java.lang.UnsatisfiedLinkError: __qt_initLibrary
> at
> com.trolltech.qt.core.QtJambi_LibraryInitializer.__qt_initLibrary(Native
> Method)
> at
> com.trolltech.qt.core.QtJambi_LibraryInitializer.<clinit>(QtJambi_LibraryInitializer.java:10)
> at
> com.trolltech.qt.core.QAbstractFileEngineHandler.<clinit>(QAbstractFileEngineHandler.java:7)
> at
> com.trolltech.qt.QtJambi_LibraryInitializer.<clinit>(QtJambi_LibraryInitializer.java:25)
> at com.trolltech.qt.QtObject.<clinit>(QtObject.java:27)
> PATH=./bin:/usr/java/jdk1.5/bin:/usr/bin:/bin
> LD_LIBRARY_PATH=./lib:/usr/lib:/lib java -cp ./qtjambi.jar:.
> com.trolltech.launcher.Launcher
>
Hi Mike,
One thing I can think of is wether or not you have Xinerama installed.
The Qt Jambi version of Qt Gui depends on this.
-
Gunnar
Message 5 in thread
I believe that is the case. We've figured out that it dying trying to load
libXfixes.so
Mike
On Friday 27 October 2006 10:04, Gunnar Sletta wrote:
> Mike Perik wrote:
> > Here is the output. I added a print out of the command line in the
> > qtjambi.sh script. It's at the end
> >
> >
> >
> > [mikep@frln03 qtjambi-linux-1.0.0-tp3] > ./qtjambi.sh
> > Exception in thread "main" java.lang.UnsatisfiedLinkError:
> > __qt_initLibrary at
> > com.trolltech.qt.core.QtJambi_LibraryInitializer.__qt_initLibrary(Native
> > Method)
> > at
> > com.trolltech.qt.core.QtJambi_LibraryInitializer.<clinit>(QtJambi_Library
> >Initializer.java:10) at
> > com.trolltech.qt.core.QAbstractFileEngineHandler.<clinit>(QAbstractFileEn
> >gineHandler.java:7) at
> > com.trolltech.qt.QtJambi_LibraryInitializer.<clinit>(QtJambi_LibraryIniti
> >alizer.java:25) at com.trolltech.qt.QtObject.<clinit>(QtObject.java:27)
> > PATH=./bin:/usr/java/jdk1.5/bin:/usr/bin:/bin
> > LD_LIBRARY_PATH=./lib:/usr/lib:/lib java -cp ./qtjambi.jar:.
> > com.trolltech.launcher.Launcher
>
> Hi Mike,
>
> One thing I can think of is wether or not you have Xinerama installed.
> The Qt Jambi version of Qt Gui depends on this.
>
> -
> Gunnar
--
[ signature omitted ]
Message 6 in thread
Found another machine with libXfixes.so and libXinerama.so.1 on it and copied
them into the qtjambi/lib directory and the demo started.
Thanks for the help.
Mike
On Friday 27 October 2006 10:34, Mike Perik wrote:
> I believe that is the case. We've figured out that it dying trying to load
> libXfixes.so
>
> Mike
>
> On Friday 27 October 2006 10:04, Gunnar Sletta wrote:
> > Mike Perik wrote:
> > > Here is the output. I added a print out of the command line in the
> > > qtjambi.sh script. It's at the end
> > >
> > >
> > >
> > > [mikep@frln03 qtjambi-linux-1.0.0-tp3] > ./qtjambi.sh
> > > Exception in thread "main" java.lang.UnsatisfiedLinkError:
> > > __qt_initLibrary at
> > > com.trolltech.qt.core.QtJambi_LibraryInitializer.__qt_initLibrary(Nativ
> > >e Method)
> > > at
> > > com.trolltech.qt.core.QtJambi_LibraryInitializer.<clinit>(QtJambi_Libra
> > >ry Initializer.java:10) at
> > > com.trolltech.qt.core.QAbstractFileEngineHandler.<clinit>(QAbstractFile
> > >En gineHandler.java:7) at
> > > com.trolltech.qt.QtJambi_LibraryInitializer.<clinit>(QtJambi_LibraryIni
> > >ti alizer.java:25) at
> > > com.trolltech.qt.QtObject.<clinit>(QtObject.java:27)
> > > PATH=./bin:/usr/java/jdk1.5/bin:/usr/bin:/bin
> > > LD_LIBRARY_PATH=./lib:/usr/lib:/lib java -cp ./qtjambi.jar:.
> > > com.trolltech.launcher.Launcher
> >
> > Hi Mike,
> >
> > One thing I can think of is wether or not you have Xinerama installed.
> > The Qt Jambi version of Qt Gui depends on this.
> >
> > -
> > Gunnar
--
[ signature omitted ]