RE: [Java-gnome-developer] UnsatisfiedLinkError on HTMLDocument ( html_document_new)
Brought to you by:
afcowie
From: Nicholas R. <ni...@mn...> - 2004-10-22 13:44:15
|
It seems that I have several different versions: me: /usr/lib> ls *gtkhtml* gtkhtmlConf.sh* libgtkhtml-1.1.a libgtkhtml-1.1.la* libgtkhtml-1.1.so@ libgtkhtml-1.1.so.3@ libgtkhtml-1.1.so.3.0.5* libgtkhtml-2.a libgtkhtml-2.la* libgtkhtml-2.so@ libgtkhtml-2.so.0@ libgtkhtml-2.so.0.0.0* libgtkhtml-3.0.a libgtkhtml-3.0.la* libgtkhtml-3.0.so@ libgtkhtml-3.0.so.4@ libgtkhtml-3.0.so.4.0.0* libgtkhtml-3.1.a libgtkhtml-3.1.la* libgtkhtml-3.1.so@ libgtkhtml-3.1.so.11@ libgtkhtml-3.1.so.11.0.6* libgtkhtmljava2.6.so@ libgtkhtmljava2.6.so.2.6.0* libgtkhtml.so@ libgtkhtml.so.20@ which of these is the right one? and how would i go about getting the system to use it? thx for your help, Nick On Fri, 2004-10-22 at 09:27 -0400, Jeffrey Morgan wrote: > The error is caused by the system not being able to locate > the libgtkhtml shared object, not the java-gnome shared object. > What version of libgtkhtml do you have installed? > > -Jeff > > > > -----Original Message----- > > From: jav...@li... > > [mailto:jav...@li...]On Behalf Of > > Nicholas Rahn > > Sent: Friday, October 22, 2004 8:17 AM > > To: jav...@li... > > Subject: [Java-gnome-developer] UnsatisfiedLinkError on HTMLDocument > > (html_document_new) > > > > > > Hi, > > > > I would like to use gtkhtml in my java-gnome application. However, i > > get the following exception when i try to instantiate an HTMLDocument > > object: > > > > java.lang.UnsatisfiedLinkError: html_document_new > > at > > org.gnu.gtkhtml.HTMLDocument.html_document_new(Native Method) > > at org.gnu.gtkhtml.HTMLDocument.<init>(HTMLDocument.java:44) > > at HomeInstanceFrame > > $CIAButtonListener.clickButtonEvent(HomeInstanceFrame.java:234) > > at HomeInstanceFrame > > $CIAButtonListener.buttonEvent(HomeInstanceFrame.java:223) > > at org.gnu.gtk.Button.fireButtonEvent(Button.java:258) > > at org.gnu.gtk.Button.handleClick(Button.java:268) > > at org.gnu.gtk.Gtk.gtk_main(Native Method) > > at org.gnu.gtk.Gtk.main(Gtk.java:53) > > at CIAM.main(CIAM.java:54) > > > > The rest of the application works fine so it doesn't seem to be one of > > the "normal" ld_library_path issues. i did see a posting from back in > > april, but there were no suggestions on how to fix it. > > > > Just for more info, here's the pertinent libraries from /usr/lib: > > > > lrwxrwxrwx 1 root root 16 Aug 19 19:35 libdb_java.a -> > > libdb_java-4.2.a > > lrwxrwxrwx 1 root root 17 Aug 19 19:35 libdb_java.so -> > > libdb_java-4.2.so* > > lrwxrwxrwx 1 root root 20 Jan 19 2004 libpdf_java.so.0 -> > > libpdf_java.so.0.0.0* > > lrwxrwxrwx 1 root root 20 Jan 19 2004 libpdf_java.so -> > > libpdf_java.so.0.0.0* > > lrwxrwxrwx 1 root root 22 Oct 22 13:13 libgtkjava2.4.so -> > > libgtkjava2.4.so.2.4.0* > > lrwxrwxrwx 1 root root 24 Oct 22 13:13 libgconfjava2.6.so -> > > libgconfjava2.6.so.2.6.0* > > lrwxrwxrwx 1 root root 24 Oct 22 13:13 libgladejava2.6.so -> > > libgladejava2.6.so.2.6.0* > > lrwxrwxrwx 1 root root 26 Oct 22 13:13 libgtkhtmljava2.6.so -> > > libgtkhtmljava2.6.so.2.6.0* > > lrwxrwxrwx 1 root root 30 Oct 22 13:13 libgnomevtejava0.11.so -> > > libgnomevtejava0.11.so.0.11.10* > > lrwxrwxrwx 1 root root 33 Oct 22 13:13 libgnomejava2.6.so > > -> /usr/lib/libgnomejava2.6.so.2.6.0* > > -r--r--r-- 1 root root 1054522 Oct 19 2003 libdb_java-4.0.a > > -r--r--r-- 1 root root 163054 Aug 19 19:35 db-4.2.jar > > -r--r--r-- 1 root root 32164 Oct 19 2003 db-4.0.jar > > -r--r--r-- 1 root root 33353 Jun 21 16:30 db-4.1.jar > > -r--r--r-- 1 root root 738 Oct 19 2003 libdb_java-4.0.la > > -rw-r--r-- 1 root root 1176370 Jun 21 16:30 libdb_java-4.1.a > > -rw-r--r-- 1 root root 1302940 Aug 19 19:35 libdb_java-4.2.a > > -rw-r--r-- 1 root root 1304554 Jan 19 2004 libpdf_java.a > > -rw-r--r-- 1 root root 731 Jan 19 2004 libpdf_java.la > > -rw-r--r-- 1 root root 738 Jun 21 16:30 libdb_java-4.1.la > > -rw-r--r-- 1 root root 816 Aug 19 19:35 libdb_java-4.2.la > > -rwxr-xr-x 1 root root 10240 Oct 22 13:13 > > libgnomevtejava0.11.so.0.11.10* > > -rwxr-xr-x 1 root root 1041169 Jan 19 2004 libpdf_java.so.0.0.0* > > -rwxr-xr-x 1 root root 13912 Oct 22 13:13 > > libgtkhtmljava2.6.so.2.6.0* > > -rwxr-xr-x 1 root root 151404 Oct 22 13:13 libgnomejava2.6.so.2.6.0* > > -rwxr-xr-x 1 root root 31860 Oct 22 13:13 libgconfjava2.6.so.2.6.0* > > -rwxr-xr-x 1 root root 6228 Oct 22 13:13 libgladejava2.6.so.2.6.0* > > -rwxr-xr-x 1 root root 649844 Oct 22 13:13 libgtkjava2.4.so.2.4.0* > > -rwxr-xr-x 1 root root 865632 Jun 21 16:30 libdb_java-4.1.so* > > -rwxr-xr-x 1 root root 961672 Aug 19 19:35 libdb_java-4.2.so* > > -r-xr-xr-x 1 root root 855233 Oct 19 2003 libdb_java-4.0.so* > > > > i'm running under gentoo, so i re-emerged java-gnome today just to see > > if that was the issue, but it wasn't. > > > > any hints would be welcome. > > thx in advance for your help, > > nick > > > > -- > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: IT Product Guide on > > ITManagersJournal > > Use IT products in your business? Tell us what you think of > > them. Give us > > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to > > find out more > > http://productguide.itmanagersjournal.com/guidepromo.tmpl > > _______________________________________________ > > java-gnome-developer mailing list > > jav...@li... > > https://lists.sourceforge.net/lists/listinfo/java-gnome-developer > > > > NOTE: THIS IS A CONFIDENTIAL COMMUNICATION. This transmission is intended > only for the use of the individuals or entity to which it is addressed. If > you are not the intended recipient, or the person responsible for delivering > the message to the intended recipient, please return or delete it > immediately. Although this e-mail and any attachments are believed to be > free of any virus or other defect, it is the responsibility of the recipient > to ensure that it is virus free and no responsibility is accepted by us for > any loss or damage arising in any way from its unauthorized modification or > use. -- |