[Bug 711145] whem I compile this plugin under ubuntu13.10 or 12.04, it gives error like this

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Apr 6 23:50:16 PDT 2015


https://bugzilla.gnome.org/show_bug.cgi?id=711145

Scott Lamb <slamb at slamb.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |slamb at slamb.org

--- Comment #16 from Scott Lamb <slamb at slamb.org> ---
I think this is a result of a newer orcc accidentally linking against an older
liborc.

I'm using Ubuntu 14.10 and have the liborcc-0.4-0 package installed (apparently
brought in by installing libopencv-dev, among other things). I noticed it's not
new enough to make git master HEAD of gst-plugins-base use orc, so I installed
the git version of orc. It behaved in this way, and ldd provided the smoking
gun:

$ ldd /usr/local/bin/orcc
    linux-vdso.so.1 =>  (0x00007fffa75ac000)
    liborc-0.4.so.0 => /usr/lib/x86_64-linux-gnu/liborc-0.4.so.0
(0x00007f6d9dc86000)
    libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f6d9d8c2000)
    libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f6d9d5bb000)
    libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0
(0x00007f6d9d39d000)
    /lib64/ld-linux-x86-64.so.2 (0x00007f6d9df18000)

I'd bet uninstalling the liborcc-0.4-0 package would solve the problem.

I didn't want to, though. Instead, this worked for me:

$ export LD_RUN_PATH=/usr/local/lib
$ ./configure
$ make
$ sudo make install

ldd now says the expected thing:

$ ldd /usr/local/bin/orcc
    linux-vdso.so.1 =>  (0x00007fffacfc8000)
    liborc-0.4.so.0 => /usr/local/lib/liborc-0.4.so.0 (0x00007f02cd7dd000)
    libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f02cd40d000)
    libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f02cd106000)
    libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0
(0x00007f02ccee8000)
    /lib64/ld-linux-x86-64.so.2 (0x00007f02cda65000)

and once I deleted the gstaudiopack.h, I was able to build gst-plugins-base
correctly.

There's probably a way for orcc's build to ensure it's always using the
libraries it just installed. I'm not that handy with libtool and such, though.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list