/usr/bin/ld: cannot find -lgstreamer-0.10, plus other missing modules

Graham grahamberends at gmail.com
Tue Sep 13 21:48:13 UTC 2016


Hi Mandar.

Thanks for your reply.

1) I followed your advice: installing your script and using your command
line. I get these error messages:

$ gcc -o gstreamer_one gstreamer_one.c `pkg-config --cflags --libs
gstreamer-1.0` 
Package gstreamer-1.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gstreamer-1.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gstreamer-1.0' found
gstreamer_one.c:1:21: fatal error: gst/gst.h: No such file or directory
 #include <gst/gst.h>
                     ^
compilation terminated.

Note: There is no other gst/gst.h file in my file system.

2) When I installed the system, I asked for gstreamer to be installed. So:

Running $dnf list installed | grep gstreamer, produces:
PackageKit-gstreamer-plugin.x86_64    1.1.3-2.fc24                     
@updates
gstreamer.x86_64                                0.10.36-14.fc24                  
@fedora 
gstreamer-devel.x86_64                       0.10.36-14.fc24                  
@fedora 
gstreamer-plugins-base.x86_64             0.10.36-14.fc24                  
@fedora 
gstreamer-tools.x86_64                        0.10.36-14.fc24                  
@fedora 
gstreamer1.x86_64                              1.8.3-1.fc24                     
@updates
gstreamer1-plugins-bad-free.x86_64      1.8.3-1.fc24                     
@updates
gstreamer1-plugins-base.x86_64           1.8.3-1.fc24                     
@updates
gstreamer1-plugins-good.x86_64           1.8.3-1.fc24                     
@updates
phonon-backend-gstreamer.x86_64        2:4.9.0-1.fc24                   
@fedora 
phonon-qt5-backend-gstreamer.x86_64   2:4.9.0-1.fc24                   
@fedora 

There are some gstreamer1-related files installed:
3) Running as root: $find / | grep gstreamer, produces (thinned out a bit):
./var/lib/dnf/yumdb/g/7c397d3658f7dc2a909b9a6508cf4cb8e1821108-gstreamer1-plugins-good-1.8.3-1.fc24-x86_64
 + plus lots of other yumdb entries, like:
 + base
 + bad-free
 +
./var/lib/dnf/yumdb/g/4ad9fb799d4288dd5171a94298524db096ebd8e7-gstreamer1-1.8.3-1.fc24-x86_64
./usr/lib/rpm/gstreamer1.prov
 +
./usr/share/licenses/gstreamer1-plugins-good
 +
./usr/share/licenses/gstreamer1-plugins-base
 +
./usr/share/licenses/gstreamer1
 +
./usr/share/doc/gstreamer1-plugins-base/REQUIREMENTS
 +
./usr/share/doc/gstreamer1-plugins-base/README

Perhaps these are just links for you (dnf) to use?

4) Are those dnf/yumdb entries, shown above, the data which yum would use to
download and install the gstreamer1?
5) How can I go about FULLY installing gstreamer1?

Look forward to your reply
Thanks
Graham






--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/usr-bin-ld-cannot-find-lgstreamer-0-10-plus-other-missing-modules-tp4679528p4679569.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list