GNOME Bugzilla – Bug 319416
Missing symbols in libraries
Last modified: 2005-10-26 08:34:07 UTC
I have checked out gsteramer and all types of plugins, compile and install everything. When I run gst-inspect --gst-debug-level=2, it reports many missing sysmbols in libraries: WARN (0x50ed20 - 0:00:00.011648000) GST_PLUGIN_LOADING( 9763) gstplugin.c(411):gst_plugin_load_file: module_open failed: /usr/local/lib/gstreamer-0.9/libgstadder.so: undefined symbol: gst_collectpads_set_function WARN (0x50ed20 - 0:00:00.012372000) GST_PLUGIN_LOADING( 9763) gstplugin.c(411):gst_plugin_load_file: module_open failed: /usr/local/lib/libgstaudio-0.9.so.2: undefined symbol: gst_push_src_get_type WARN (0x50ed20 - 0:00:00.012588000) GST_PLUGIN_LOADING( 9763) gstplugin.c(411):gst_plugin_load_file: module_open failed: /usr/local/lib/gstreamer-0.9/libgstaudiotestsrc.so: undefined symbol: gst_base_src_set_live WARN (0x50ed20 - 0:00:00.012856000) GST_PLUGIN_LOADING( 9763) gstplugin.c(411):gst_plugin_load_file: module_open failed: /usr/local/lib/gstreamer-0.9/libgstffmpegcolorspace.so: undefined symbol: gst_base_transform_get_type WARN (0x50ed20 - 0:00:00.013091000) GST_PLUGIN_LOADING( 9763) gstplugin.c(411):gst_plugin_load_file: module_open failed: /usr/local/lib/gstreamer-0.9/libgstsinesrc.so: undefined symbol: gst_base_src_set_live WARN (0x50ed20 - 0:00:00.013357000) GST_PLUGIN_LOADING( 9763) gstplugin.c(411):gst_plugin_load_file: module_open failed: /usr/local/lib/gstreamer-0.9/libgsttcp.so: undefined symbol: gst_push_src_get_type WARN (0x50ed20 - 0:00:00.013667000) GST_PLUGIN_LOADING( 9763) gstplugin.c(411):gst_plugin_load_file: module_open failed: /usr/local/lib/gstreamer-0.9/libgstvideoscale.so: undefined symbol: gst_base_transform_get_type WARN (0x50ed20 - 0:00:00.014010000) GST_PLUGIN_LOADING( 9763) gstplugin.c(411):gst_plugin_load_file: module_open failed: /usr/local/lib/gstreamer-0.9/libgstvolume.so: undefined symbol: gst_base_transform_get_type WARN (0x50ed20 - 0:00:00.014427000) GST_PLUGIN_LOADING( 9763) gstplugin.c(411):gst_plugin_load_file: module_open failed: /usr/local/lib/gstreamer-0.9/libgstogg.so: undefined symbol: gst_collectpads_set_function WARN (0x50ed20 - 0:00:00.015646000) GST_PLUGIN_LOADING( 9763) gstplugin.c(411):gst_plugin_load_file: module_open failed: /usr/local/lib/libgstaudio-0.9.so.2: undefined symbol: gst_push_src_get_type
Looks like there's something dodgy going on with your libgstbase-0.9.so. All of the above plugins should link against libgstbase-0.9.so, and the Makefile.am in question look fine to me as well. Does ldd /usr/local/lib/gstreamer-0.9/libgstfoo.so | grep gstbase show anything for the above plugins? Does sudo /sbin/ldconfig fix the problem by any chance? (I sometimes need to do that for some reason that I don't really understand, given that 'make install' already takes care of that) Is that a clean CVS checkout btw? Cheers -Tim
Also, is /usr/local/lib either in your /etc/ld.so.conf or in your LD_LIBRARY_PATH?
CVS version of gstreamer and plugins were working for me well until today or yesterday. I have /usr/local/lib in /etc/ld.so.conf and run ldconfig after installing from CVS. "ldd /usr/....../libname | grep gstbase" does not write anything for each of the libraries mentioned earlier. The sources are almost clean CVS - the only changes are to make gstreamer/tools to compile (Bug 319413) and disable some plugins that require liboil.
upgraded automake to 1.9.5 and now it works fine
What automake version did you use before?
It was probably 1.6.something (I uninstalled it immediatelly so I'm not 100% sure)