RE: [Java-gnome-developer] UnsatisfiedLinkError using HTMLDocumen t (html_document_new)
Brought to you by:
afcowie
From: Jeffrey M. <Jef...@Br...> - 2004-10-25 19:09:06
|
I just compiled and ran the example on a gentoo system. I didn't have any problems. -Jeff > -----Original Message----- > From: jav...@li... > [mailto:jav...@li...]On Behalf Of > Mark Davidson > Sent: Monday, October 25, 2004 12:53 PM > To: Nicholas Rahn > Cc: jav...@li... > Subject: Re: [Java-gnome-developer] UnsatisfiedLinkError using > HTMLDocument (html_document_new) > > > Well, I've been trying to do some work on the gtkhtml2 bindings, but > have been stalled due to personal schedule overload. I can > try to take > a look at this later today... I hope. :) > > Mark > > On Oct 22, 2004, at 5:24 AM, Nicholas Rahn wrote: > > > 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 > > 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 > > > > > > ------------------------------------------------------- > 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. |