GNOME Bugzilla – Bug 700299
Build fails on Raspberry Pi
Last modified: 2013-05-15 08:13:24 UTC
I tried to build gst-plugins-bad after updating it from git (to revision f0039c6dc36) but it fails to build against other gstreamer and orc packages (updated from git as well). gstreamer revision is 3d44f542ed1af orc revision is 8e1d62c296325 gst-plugins-base is d8a3895ac937c0f9) Here's an output of error: make[3]: Entering directory `/home/pi/git/gstreamer-next/gst-plugins-bad/gst/bayer' ORCC tmp-orc.c /usr/local/bin/orcc: symbol lookup error: /usr/local/bin/orcc: undefined symbol: orc_bytecode_from_program
what is the output of ldd /usr/local/bin/orcc ?
Here it is: /usr/lib/arm-linux-gnueabihf/libcofi_rpi.so (0xb6f11000) liborc-0.4.so.0 => /usr/lib/arm-linux-gnueabihf/liborc-0.4.so.0 (0xb6e8e000) libm.so.6 => /lib/arm-linux-gnueabihf/libm.so.6 (0xb6e1d000) librt.so.1 => /lib/arm-linux-gnueabihf/librt.so.1 (0xb6e0e000) libc.so.6 => /lib/arm-linux-gnueabihf/libc.so.6 (0xb6cdf000) libgcc_s.so.1 => /lib/arm-linux-gnueabihf/libgcc_s.so.1 (0xb6cb7000) /lib/ld-linux-armhf.so.3 (0xb6f1e000) libpthread.so.0 => /lib/arm-linux-gnueabihf/libpthread.so.0 (0xb6c98000)
> liborc-0.4.so.0 => /usr/lib/arm-linux-gnueabihf/liborc-0.4.so.0 There you go. You need to fix your setup so that liborc-0.4 from /usr/local/lib/* gets picked up, either by adding an appropriate line to /etc/ld.so.conf* (and running sudo ldconfig afterwards) and/or setting LD_LIBRARY_PATH. NOTGNOME from the looks of it.
Yes, thank you, just noticed it, too. I uninstalled orc from repo and orcc became linked to those in /usr/local/lib. I think, it's resolved.