Re: java.lang.UnsatisfiedLinkError when trying to start Browser Demo on Lin
> I guess you are using Gnome2.6, right ?
> > cat /usr/share/gnome-about/gnome-version.xml | grep minor
> For the liblinc.so link error, this is a known issue with Gnome2.6, but I didn't mention it in the 0.8.4 distribution.
> The problem is, libjdic.so depends on some Gnome libraries including liblinc.so for Gnome2.3-: to build libjdic.so requires linking to liblinc.so. But I checked that for Gnome2.6, the Gnome library dependencies change somehow. Seems that liblinc.so is not provided and not required to build libjdic.so.
> For the current JDIC 0.8.4 binary release, it's built with Gnome2.3, which linked to liblinc.so. Now you are using Gnome2.6, that's the cause of the problem.
> The simple solution for Gnome2.6, is to remove -I$(USR_INCLUDE_DIR)/linc-1.0 and -llinc options in file
> and rebuilt the libjdic.so library.
> I've sent you an updated libjdic.so file built for Gnome2.6 in another email. Hope it works.
> I think that's also the reason the demo doesn't work.
> -George Zhang
thanks for your quick response. I'm indeed using Gnome2.6!
I tried to replace the libjdic.so with the one you attachment me in the
private message. Additionally, I also compiled my own version using
I've tested this with both versions, following error occurs:
+++ Ctrace: ./mozembed-linux-gtk2: relocation error: ./mozembed-linux-gtk2: undefined symbol: _Z15CopyUCS2toASCIIRK9nsAStringR10nsACString
If I don't set the LD_LIBRARY_PATH to point to the demo directory, I get
Can't execute native browser. ErrMsg is null
So, my feeling is that the Gnome2.6 related problem is solved. But now
its an Mozilla problem.
I'm using Gentoo Linux, Mozilla 1.6 found in /usr/lib/mozilla, which uses
the gtk2 extension with all the nifty font stuff.
I tried to compile my own mozembed-linux-gtk2. In the /unix/native/mozilla
directory I just fired "make":
Makefile:42: /config/autoconf.mk: Datei oder Verzeichnis nicht gefunden
Makefile:104: /config/config.mk: Datei oder Verzeichnis nicht gefunden
Makefile:128: /config/rules.mk: Datei oder Verzeichnis nicht gefunden
make: *** Keine Regel, um ï¿½/config/rules.mkï¿½ zu erstellen. Schluss.
In English is a "File or Directory not found" and at the end "No rules to