GNOME Bugzilla – Bug 360149
symbol lookup error
Last modified: 2006-10-07 11:06:29 UTC
Hi, I am running edgy-eft beta with totem compiled from cvs. I am getting the following error when I open apple.com/trailer . I am experiencing the same with cnn videos also. ** Message: NP_Initialize ** Message: totem_plugin_new_instance totemNarrowSpacePlugin ctor [0x96f58a0] mode 1 mime type: video/quicktime argv[0] src http://images.apple.com/movies/wb/blood_diamond/blooddiamond_trailer_poster.mov argv[1] pluginspage http://www.apple.com/quicktime/download/ argv[2] controller false argv[3] type video/quicktime argv[4] height 195 argv[5] width 288 ** Message: plugin_get_value 14 (e) ** Message: plugin_set_window ** Message: waiting for data to come ** Message: leaving plugin_set_window ** Message: plugin_get_value 15 (f) ** Message: unhandled variable 15 (f) ** Message: plugin_get_value 11 (b) ** Message: plugin_get_value 268435466 (1000000a) ** Message: GetHelperForLanguage 2 /usr/lib/firefox/firefox-bin: symbol lookup error: /usr/lib/firefox/plugins/libtotem-narrowspace-plugin.so: undefined symbol: _ZN8nsMemory5AllocEj -Sanjay Kumar J
The plugin is working with Mozilla 1.7.13 but crashes with firefox 2.
Are you sure totem-plugin was compiled against firefox 2, and not against mozilla 1.7 ?
I compiled with the following option sanj@sbvn:~/package/media/totem$ ./configure --prefix=/usr --enable-mozilla --enable-gmp-plugin --enable-complex-plugin --enable-narrowspace-plugin --enable-mully-plugin --enable-nautilus --enable-debug checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for style of include used by make... GNU checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking dependency style of gcc... gcc3 checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking for LC_MESSAGES... yes checking libintl.h usability... yes checking libintl.h presence... yes checking for libintl.h... yes checking for ngettext in libc... yes checking for dgettext in libc... yes checking for bind_textdomain_codeset... yes checking for msgfmt... /usr/bin/msgfmt checking for dcgettext... yes checking for gmsgfmt... /usr/bin/msgfmt checking for xgettext... /usr/bin/xgettext checking for intltool >= 0.35.0... 0.35.0 found checking for perl... /usr/bin/perl checking for XML::Parser... ok checking for iconv... /usr/bin/iconv checking for msgfmt... /usr/bin/msgfmt checking for msgmerge... /usr/bin/msgmerge checking for xgettext... /usr/bin/xgettext checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for GDU_MODULE_VERSION_CHECK... yes checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for a sed that does not truncate output... /bin/sed checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes checking how to recognise dependent libraries... pass_all checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking how to run the C++ preprocessor... g++ -E checking for g77... no checking for f77... no checking for xlf... no checking for frt... no checking for pgf77... no checking for cf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for f90... no checking for xlf90... no checking for pgf90... no checking for pghpf... no checking for epcf90... no checking for gfortran... no checking for g95... no checking for f95... no checking for fort... no checking for xlf95... no checking for ifort... no checking for ifc... no checking for efc... no checking for pgf95... no checking for lf95... no checking for ftn... no checking whether we are using the GNU Fortran 77 compiler... no checking whether accepts -g... no checking the maximum length of command line arguments... 32768 checking command to parse /usr/bin/nm -B output from gcc object... ok checking for objdir... .libs checking for ar... ar checking for ranlib... ranlib checking for strip... strip checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... cat: /etc/ld.so.conf.d/*.conf: No such file or directory GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC checking if g++ PIC flag -fPIC works... yes checking if g++ static flag -static works... yes checking if g++ supports -c -o file.o... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... cat: /etc/ld.so.conf.d/*.conf: No such file or directory GNU/Linux ld.so checking how to hardcode library paths into programs... immediate appending configuration tag "F77" to libtool checking for pkg-config... (cached) /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for glib-genmarshal... /usr/bin/glib-genmarshal checking for glib-mkenums... /usr/bin/glib-mkenums checking for NVTV... checking for XINE... yes checking for backend libraries... xine-lib checking for Linux... yes checking whether to compile vanity... no checking for EXTRA_GNOME... yes checking for D-BUS... checking for DBUS... yes we're getting on D-BUS checking whether iso-codes has iso-639 domain... yes checking for GTK... yes checking whether to compile the browser plugins... autodetect checking which gecko to use... mozilla checking for MOZILLA_NOT_LINKED... yes checking for BROWSER_PLUGIN... yes checking for DBUS... yes checking for dbus-binding-tool... /usr/bin/dbus-binding-tool checking for xpidl... /usr/lib/mozilla/xpidl checking for xpt_link... /usr/lib/mozilla/xpt_link checking whether to enable the basic browser plugin... yes checking whether to enable the GMP browser plugin... yes checking whether to enable the Complex browser plugin... yes checking whether to enable the NarrowSpace browser plugin... yes checking whether to enable the MullY browser plugin... yes checking for NAUTILUS... checking irman.h usability... no checking irman.h presence... no checking for irman.h... no checking for lirc_init in -llirc_client... no checking for HAL... checking for HAL... checking for X... libraries , headers checking for XTestFakeKeyEvent in -lXtst... yes checking for XF86VidModeQueryExtension in -lXxf86vm... yes checking for XRRUpdateConfiguration in -lXrandr... yes checking for X11/extensions/Xrandr.h... yes checking for X11 XFree86 headers... yes checking for gconftool-2... /usr/bin/gconftool-2 Using config source xml:merged:/etc/gconf/gconf.xml.defaults for schema installation Using $(sysconfdir)/gconf/schemas as install directory for schema files checking for TOTEM_PLPARSER... yes checking for TOTEM_PLPARSER_MINI... yes checking whether gcc understands -Wno-sign-compare... yes checking what warning flags to pass to the C compiler... -Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-sign-compare checking what language compliance flags to pass to the C compiler... checking what warning flags to pass to the C++ compiler... -Wall -Wno-unused checking what language compliance flags to pass to the C++ compiler... checking whether to enable maintainer-specific portions of Makefiles... no configure: creating ./config.status config.status: creating Makefile config.status: creating totem.spec config.status: creating totem-plparser.pc config.status: creating src/Makefile config.status: creating src/backend/Makefile config.status: creating src/plparse/Makefile config.status: creating src/plparse/totem-pl-parser-features.h config.status: creating browser-plugin/Makefile config.status: creating browser-plugin/idl/Makefile config.status: creating data/Makefile config.status: creating data/totem.desktop.in.in config.status: creating data/vanity.desktop.in config.status: creating data/icons/Makefile config.status: creating data/icons/16x16/Makefile config.status: creating data/icons/22x22/Makefile config.status: creating data/icons/24x24/Makefile config.status: creating data/icons/32x32/Makefile config.status: creating data/icons/scalable/Makefile config.status: creating po/Makefile.in config.status: creating help/Makefile config.status: creating help/bg/Makefile config.status: creating help/fr/Makefile config.status: creating help/ru/Makefile config.status: creating help/uk/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing default-1 commands config.status: executing intltool commands config.status: executing po/stamp-it commands Using the xine backend sanj@sbvn:~/package/media/totem$ I used the same configure option from 2.15 and that worked for both till 2.16.2. Even now on copying the old plugins {2.16.1} firefox 2 is working. I guess the crash is happening after 2.17 only.
I used the same configure option from 2.16.0 and that worked for both till 2.17. Even now on copying the old plugins {2.16.1} firefox 2 is working. I guess the crash is happening after 2.17 only.
checking which gecko to use... mozilla You are compiling against mozilla. Try compiling against firefox, --with-mozilla=firefox .
checking which gecko to use... firefox Now working fine.
LoadPlugin: failed to initialize shared library /usr/lib/firefox/plugins/libtotem-basic-plugin.so [/usr/lib/firefox/plugins/libtotem-basic-plugin.so: undefined symbol: sMozillaFuncs] LoadPlugin: failed to initialize shared library /usr/lib/firefox/plugins/libtotem-complex-plugin.so [/usr/lib/firefox/plugins/libtotem-complex-plugin.so: undefined symbol: sMozillaFuncs] LoadPlugin: failed to initialize shared library /usr/lib/firefox/plugins/libtotem-gmp-plugin.so [/usr/lib/firefox/plugins/libtotem-gmp-plugin.so: undefined symbol: sMozillaFuncs] LoadPlugin: failed to initialize shared library /usr/lib/firefox/plugins/libtotem-mully-plugin.so [/usr/lib/firefox/plugins/libtotem-mully-plugin.so: undefined symbol: sMozillaFuncs] LoadPlugin: failed to initialize shared library /usr/lib/firefox/plugins/libtotem-narrowspace-plugin.so [/usr/lib/firefox/plugins/libtotem-narrowspace-plugin.so: undefined symbol: sMozillaFuncs] LoadPlugin: failed to initialize shared library /usr/lib/firefox/plugins/libtotem-basic-plugin.so [/usr/lib/firefox/plugins/libtotem-basic-plugin.so: undefined symbol: sMozillaFuncs] LoadPlugin: failed to initialize shared library /usr/lib/firefox/plugins/libtotem-complex-plugin.so [/usr/lib/firefox/plugins/libtotem-complex-plugin.so: undefined symbol: sMozillaFuncs] LoadPlugin: failed to initialize shared library /usr/lib/firefox/plugins/libtotem-gmp-plugin.so [/usr/lib/firefox/plugins/libtotem-gmp-plugin.so: undefined symbol: sMozillaFuncs] LoadPlugin: failed to initialize shared library /usr/lib/firefox/plugins/libtotem-mully-plugin.so [/usr/lib/firefox/plugins/libtotem-mully-plugin.so: undefined symbol: sMozillaFuncs] LoadPlugin: failed to initialize shared library /usr/lib/firefox/plugins/libtotem-narrowspace-plugin.so [/usr/lib/firefox/plugins/libtotem-narrowspace-plugin.so: undefined symbol: sMozillaFuncs]
*** This bug has been marked as a duplicate of 354490 ***