[gst-devel] gst-ffmpeg conflicting lib versions
stebbins at jetheaddev.com
Wed Dec 3 18:31:44 CET 2008
Sebastian Dröge wrote:
> Am Montag, den 01.12.2008, 11:06 -0800 schrieb John Stebbins:
>> Trying to get a clue...
>> I've got a application that has a snapshot of ffmpeg libs statically
>> linked. I'm attempting to use the version of gst-ffmpeg plugin (0.10.5)
>> packaged with the distribution (ubuntu 8.10) which unfortunately has
>> been linked against the system ffmpeg libs. Whenever gstreamer tries to
>> use the ffmpeg plugin, I'm getting a segfault. My best guess is that
>> it's somehow accessing something in my statically linked ffmpeg
>> snapshot. But I can't see how it would do that as its loaded
>> dynamically at run time and should not be able to see the symbols for
>> the static version.
>> Anybody have any ideas?
> Your application with the statically linked ffmpeg should somehow make
> sure that the ffmpeg symbols are not exported. Also there's IIRC some
> linked flag to make sure that global symbols inside the executable are
> not overriden by some shared library (maybe -Bsymbolic ?).
Sebastian, your a genius. ld flag --exclude-libs solves the problem.
More information about the gstreamer-devel