Skip to main content

Failure to run on Mandrake 10.1

1 reply [Last post]
Joined: 2003-08-09

I'm trying to run the web browser embedded into a Java application on my brand new Mandrake install. When I try to run the moz-embed-xxx -test, I get the following error:

[sdussin@linux jdic-0.8.6-bin-linux]$ ./mozembed-linux-gtk2 -test
./mozembed-linux-gtk2: symbol lookup error: ./mozembed-linux-gtk2: undefined symbol: _ZTV14nsGetInterface
[sdussin@linux jdic-0.8.6-bin-linux]$

This certainly looks like the name of a mozilla function, but accoring to nm it doesn't exist in any of the mozilla libraries.

I'm running mozilla-1.7.2.

Anyone have any clue what's missing here??



Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Joined: 2003-08-19

Hi Steve,

You are using release 0.8.6, which ONLY works with mozilla 1.4. The problem was caused that the native browser part used some mozilla internal interfaces, so there is the versioning dependency problem. We fixed it in release, which works with mozilla 1.4 through 1.8a4:

Please download from:

If you run the demo in the release, the code will check mozilla binary path (using mozembed-linux-gtk2 for mozilla using gtk2 and mozembed-linux-gtk1.2 for mozilla using gtk1.2) and set the environment variables automatically. If you run ./mozembed-linux-gtk2 -test (that's the correct way to check the binary), you need to set MOZILLA_FIVE_HOME to the mozilla binary using gtk2 path, and add it to LD_LIBRARY_PATH.

The default mozilla releases from use gtk1.2, so you can check it using ./mozembed-linux-gtk1.2 -test

FWIW, to check which gtk version a mozilla binary is using, launch it and open "about:buildconfig", if there is compiler option "--enable-default-toolkit=gtk2", it's using gtk2, or it's using gtk1.2.

Please try it out and give your feedback.