I am trying to install gstreamermm for a project I am working on on my raspberry pi 2. The pi has gstreamer 1.2 installed, but gstreamermm requires atleast 1.4.3. So I downloaded gstreamer-1.6.3 from http://www.linuxfromscratch.org/blfs/view/svn/multimedia/gstreamer10.html and ran the suggested installation commands.
I am now having two problems. 1. gst-launch-1.0 returns: "gst-launch-1.0: symbol lookup error: gst-launch-1.0: undefined symbol: _gst_date_time_type" 2. it appears gstreamer-1.0 version 1.2.0 is still the primary version. Is there a way to remove 1.2.0 and make 1.6.3 the primary version of gstreamer? When installing gstreamermm it only sees 1.2.0 and not the new one. Thanks for any help, Cole _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
On Di, 2016-03-22 at 19:00 -0400, Cole Bush wrote:
> I am trying to install gstreamermm for a project I am working on on > my raspberry pi 2. The pi has gstreamer 1.2 installed, but > gstreamermm requires atleast 1.4.3. So I downloaded gstreamer-1.6.3 > from http://www.linuxfromscratch.org/blfs/view/svn/multimedia/gstream > er10.html and ran the suggested installation commands. The official website is https://gstreamer.freedesktop.org/ where you can find the latest sources. The instructions on the website you found are for "Linux from scratch", a manually built Linux distribution. Installing like that on Raspbian can easily create conflicts with your system installation of GStreamer. There should also be newer binaries for the RPi available. > I am now having two problems. > 1. gst-launch-1.0 returns: "gst-launch-1.0: symbol lookup error: gst- > launch-1.0: undefined symbol: _gst_date_time_type" Try running ldconfig. This means most likely that your system still uses the old libgstreamer-1.0.so.0 instead of the newly installed one. It can also very well be that /usr/lib/arm* is higher up in the LD library path than /usr/lib, in which case ldconfig wouldn't fix it. Installing GStreamer into /usr/local would've worked for example though. You have to be careful when installing things on top of the directories meant for the distribution (i.e. /usr, but /usr/local is your's). > 2. it appears gstreamer-1.0 version 1.2.0 is still the primary > version. Is there a way to remove 1.2.0 and make 1.6.3 the primary > version of gstreamer? When installing gstreamermm it only sees 1.2.0 > and not the new one. Install GStreamer packages for your distribution that provide a newer version, or install GStreamer and all the plugin modules in a place that has higher priority than /usr (e.g. /usr/local). You might run into incompatibilities with other applications from your distribution then though, and you need to ensure that you compile everything correctly for the RPi distribution. -- Sebastian Dröge, Centricular Ltd · http://www.centricular.com _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel signature.asc (968 bytes) Download Attachment |
Thank you for your help. I definitely messed some things up with this installation. I should have been more thorough in my research. Is it possible to recover from this? It seems to have overwritten some of the system's version of Gstreamer. Can I maybe install gstreamer 1.2.0 again and use "--prefix=/usr" to reset it? Also, I have downloaded gstreamer-1.8.0 from the website and installed it successfully. I am still getting the "gst-launch-1.0 returns: "gst-launch-1.0: symbol lookup error: gst-launch-1.0: undefined symbol: _gst_date_time_type"" error. I haven't tried too hard to fix this issue yet, but I am wondering if it is worth the time to fix, or should i just start with a new rasbian image. For future reference, when I run the command "gst-inspect-1.0 --version" It returns: gst-inspect-1.0 version 1.8.0 GStreamer 1.2.0 Unknown package origin If I installed 1.8.0 correctly, should it say GStreamer 1.2.0? Is that referring to the system version (which I'm guessing should never change)? Thanks again for any help, Cole On Wed, Mar 23, 2016 at 4:11 AM, Sebastian Dröge <[hidden email]> wrote: On Di, 2016-03-22 at 19:00 -0400, Cole Bush wrote: _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
On Do, 2016-03-24 at 21:57 -0400, Cole Bush wrote:
> Thank you for your help. I definitely messed some things up with this > installation. I should have been more thorough in my research. > > Is it possible to recover from this? It seems to have overwritten > some of the system's version of Gstreamer. Can I maybe install > gstreamer 1.2.0 again and use "--prefix=/usr" to reset it? Also, I > have downloaded gstreamer-1.8.0 from the website and installed it > successfully. I am still getting the "gst-launch-1.0 returns: "gst- > launch-1.0: symbol lookup error: gst-launch-1.0: undefined symbol: > _gst_date_time_type"" error. I haven't tried too hard to fix this > issue yet, but I am wondering if it is worth the time to fix, or > should i just start with a new rasbian image. > > For future reference, when I run the command "gst-inspect-1.0 -- > version" It returns: > gst-inspect-1.0 version 1.8.0 > GStreamer 1.2.0 > Unknown package origin > If I installed 1.8.0 correctly, should it say GStreamer 1.2.0? Is > that referring to the system version (which I'm guessing should never > change)? library. That's exactly the LD library path problem I mentioned in the previous mail. The RPi system gives preference to the path where the 1.2 libraries are, or does not even have the one where you installed the 1.8 ones included somewhere. The best is probably to start with a new image, and then install new GStreamer into /usr/local (and run ldconfig after make install). Make sure to install all plugin modules you need, and especially to compile gst-plugins-bad and gst-omx specifically for the RPi so that it doesn't use e.g. the wrong OpenGL libraries. -- Sebastian Dröge, Centricular Ltd · http://www.centricular.com _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel signature.asc (968 bytes) Download Attachment |
Thanks, I decided to start with a new image which allowed me to expand my pi's memory which i have been wanting to do for a while. It came with gstreamer 1.4.4 and I installed (correctly to /usr/local) 1.8.0. The same thing is happening where --version says 1.8.0, but GStreamer is 1.4.4. This must be the LD path problem. I have been reading about the LD path. It mentions here, http://tldp.org/HOWTO/Program-Library-HOWTO/shared-libraries.html , that it is inadvisable to use the LD_LIBRARY_PATH variable, but that it can be useful for development. The goal is to make 1.8.0 the default so gstreamermm uses the correct version. Does it make sense to point this variable at my new installation? Or is there a better way as to not upset and dependencies the system may have on the older gstreamer? Thanks. On Fri, Mar 25, 2016 at 3:58 AM, Sebastian Dröge <[hidden email]> wrote: On Do, 2016-03-24 at 21:57 -0400, Cole Bush wrote: _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |