[Bug 317327] [NEW] libqtjambi-jni doesn't properly register dynamic libraries.

Matthew Flaschen matthew.flaschen at gatech.edu
Thu Jan 15 02:10:18 UTC 2009


Public bug reported:

Binary package hint: libqtjambi-jni

I am running Hardy, and installed libqtjambi-dev , which brought in all
the relevant packages.  However, a hello world app failed at first
because the jambi jar was not in the classpath, and because the jambi
.so files in /usr/lib/jni were not registered.  I fixed the first just
by adding the jar to my classpath, and I don't think it's a bug.  The
latter error is:

Exception in thread "main" java.lang.UnsatisfiedLinkError: com.trolltech.qt.core.QtJambi_LibraryInitializer.__qt_initLibrary()V
        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:10)
        at com.trolltech.qt.QtJambi_LibraryInitializer.<clinit>(QtJambi_LibraryInitializer.java:35)
        at com.trolltech.qt.QtJambiObject.<clinit>(QtJambiObject.java:40)
        at HelloWorld.main(HelloWorld.java:51)

This was fixed by putting /usr/lib/jni in a file in /etc/ld.so.conf.d .
However, I am fairly sure the dynamic libraries should be registered
automatically at installation time.

** Affects: qtjambi (Ubuntu)
     Importance: Undecided
         Status: New

-- 
libqtjambi-jni doesn't properly register dynamic libraries.
https://bugs.launchpad.net/bugs/317327
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list