Plugin problem when cross-compiling a gst application

Marco Verza m.verza at bvtechricerca.it
Tue Jan 17 09:14:55 PST 2012


Hallo everyone,

I'm developing an application which uses gst-10. I encountered a
strange problem when cross compiling my app as a 32 bit build on a 64
bit Ubuntu machine: plugins cannot be loaded because they are
ELFCLASS32.

My software is a Qt qmake project being built with the linux-g++-32 qmakespec.
The build runs fine, except for GST, which won't load plugins. In fact
it produces the following error at runtime for each of the available
plugins:
(gst-plugin-scanner:8883): GStreamer-WARNING **: Failed to load plugin
'/usr/lib32/gstreamer-0.10/libgstwavpack.so':
/usr/lib32/gstreamer-0.10/libgstwavpack.so: wrong ELF class:
ELFCLASS32

AFAIK gst should indeed load 32 bit shared libraries in this situation.

My system specs:
- Ubuntu 11.10 server 64 bit (up to date)
- gstreamer-10:i386 and plugins installed via getlibs

Any hint would be greatly appreciated.
Thanks in advance,
Marco


-- Marco Verza
-- BV Tech Ricerca
-- Tel. 0464.40.67.27


More information about the gstreamer-devel mailing list