I down load pygtkmozembed from
http://ftp.gnome.org/pub/GNOME/sources/gnome-python-extras/2.19/gnome-python-extras-2.19.1.tar.bz2
Also I have a FF3 beta1 works well .
So I modify the configure.ac file to  compile gnome-python-extras on
FF3 . The FF3  has installed  two plugins:
Java plugin and Flash plugins:

/usr/lib/firefox-3.0b1/plugins/libjavaplugin_oji.so -> /usr/java/
jdk1.6.0_10/jre/plugin/i386/ns7/libjavaplugin_oji.so

the FF3 and the app base gtkmozemd works well with java plugin .But
pygtkmozembed not work .
Following is a pygtkembed test program
#!/usr/bin/python

import gtk
import gtkmozembed
import urllib
import urlparse
class TinyGecko:
    def __init__(self):
        self.moz = gtkmozembed.MozEmbed()

        win = gtk.Window()
        win.add(self.moz)
        self.moz.load_url('about:plugins')
    win.show_all()
if __name__ == '__main__':
  TinyGecko()
  gtk.main()

the output of the program is :
LoadPlugin: failed to initialize shared library /usr/java/jdk1.6.0_10/
jre/plugin/i386/ns7/libjavaplugin_oji.so [/usr/java/jdk1.6.0_10/jre/
plugin/i386/ns7/libjavaplugin_oji.so: undefined symbol:
_ZTVN10__cxxabiv121__vmi_class_type_infoE]

I found the symbol in  std c++ librarys which located in /usr/lib/
libstdc++.so.5.0.7  and /usr/lib/libstdc++.so.6.0.8
rpm -qa |grep std
output:
compat-libstdc++-33-3.2.3-61
libstdc++-devel-4.1.2-19
libstdc++-4.1.2-19

the FF3 and app base gtkmozembed links to std c++ of version 6
I even remove the stdc++ of version 5 ,but the pygtkmozembed test
program still not work .
Maybe I should modify the test program or it maybe a small bug of
pygtkmozembed??

Any guide will be helpful
_______________________________________________
dev-embedding mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-embedding

Reply via email to