plugin mgp123 not compiled (and not properly loaded even compiled manually)

Weipeng He heweipeng at
Thu Jun 19 04:41:54 PDT 2014


I am trying to compile gst-plugins-bad from source on Pidora.
At first, I used configure && make && make install. Everything is fine 
except several plugins are not compiled (including mpg123). Obviously 
there are external libraries missing. Then I downloaded the libmpg123 
source and compiled it.

Now, here comes the question #1. When I try to configure gst-plugins-bad 
again, it still says libmpg123 not found and plugin mpg123 will not 
compiled. I am sure is in /usr/local/lib and mpg123.h is in 

So, I went to directory ext/mpg123 and do make && make install. It was 
successfully compiled.

Now, question #2. When i tried:
$ gst-inspect-1.0 /usr/local/lib/gstreamer-1.0/

The plugin can't be properly loaded, giving the following output:
(gst-plugin-scanner:29481): GStreamer-WARNING **: Failed to load plugin 
/usr/local/lib/gstreamer-1.0/ undefined symbol: mpg123_new

(gst-inspect-1.0:29480): GStreamer-WARNING **: Failed to load plugin 
/usr/local/lib/gstreamer-1.0/ undefined symbol: mpg123_new
Could not load plugin file: Opening module failed: 
/usr/local/lib/gstreamer-1.0/ undefined symbol: mpg123_new

And I also tryied:
$ LD_PRELOAD=/usr/local/lib/ gst-inspect-1.0 
Then it gives the right result.

I don't want to add "LD_PRELOAD=/usr/local/lib/" for every 
run. How can I solve this?
Thank you!


More information about the gstreamer-devel mailing list