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

Graham grahamberends at gmail.com
Wed Sep 14 00:18:18 UTC 2016


Hi Olivier!

Thanks for your help and instructions.

I did what you said. I used dnf.The dnf install worked.

Also, using rpm -qa after the installation, the output I got was exactly
what you dispayed.

SO, THE DNF INSTALL WORKS! That parts good! THANKS.

BUT my compile command still fails. As follows:

$ gcc -n hello_world.c -o hello_world `pkg-config --cflags --libs
gstreamer-1.0`

/usr/bin/ld: cannot find -lgstreamer-1.0
/usr/bin/ld: cannot find -lgobject-2.0
/usr/bin/ld: cannot find -lglib-2.0
/usr/bin/ld: cannot find -lgcc_s
/usr/bin/ld: cannot find -lpthread
/usr/bin/ld: cannot find -lc
/usr/bin/ld: cannot find -lgcc_s
collect2: error: ld returned 1 exit status

Notes:
1) /usr/bin/ld is a set of dependent links:

lrwxrwxrwx. 1 root root 20 Sep  5 09:41 /usr/bin/ld -> /etc/alternatives/ld
lrwxrwxrwx. 1 root root 15 Sep  5 09:41 /etc/alternatives/ld ->
/usr/bin/ld.bfd
and . . .
/usr/bin/ld.bfd is an executable to find files, eg:
[root] $ /usr/bin/ld.bfd lgstreamer-1.0
/usr/bin/ld.bfd: cannot find lgstreamer-1.0: No such file or directory

2) I cannot find files like those listed above. Also, in previous searches
on the internet, I haven't found those files.


Can you help?

Regards
Graham






On Tue, Sep 13, 2016 at 6:44 PM, Olivier CrĂȘte-3 [via GStreamer-devel] <
ml-node+s966125n4679572h23 at n4.nabble.com> wrote:

> Hi,
>
> On Tue, 2016-09-13 at 14:48 -0700, Graham wrote:
> > 1) I followed your advice: installing your script and using your
> > command
> > Note: There is no other gst/gst.h file in my file system.
>
> You need to install the -devel packages:
> $ rpm -qa |grep gstreamer1 |grep devel |grep -v docs
> gstreamer1-plugins-bad-free-devel-1.8.3-1.fc24.x86_64
> gstreamer1-devel-1.8.3-1.fc24.x86_64
> gstreamer1-plugins-base-devel-1.8.3-1.fc24.x86_64
>
> --
> Olivier CrĂȘte
> [hidden email] <http:///user/SendEmail.jtp?type=node&node=4679572&i=0>
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email] <http:///user/SendEmail.jtp?type=node&node=4679572&i=1>
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>
> ------------------------------
> If you reply to this email, your message will be added to the discussion
> below:
> http://gstreamer-devel.966125.n4.nabble.com/usr-bin-ld-
> cannot-find-lgstreamer-0-10-plus-other-missing-modules-
> tp4679528p4679572.html
> To unsubscribe from /usr/bin/ld: cannot find -lgstreamer-0.10, plus other
> missing modules, click here
> <http://gstreamer-devel.966125.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4679528&code=Z3JhaGFtYmVyZW5kc0BnbWFpbC5jb218NDY3OTUyOHwxNjk5MzgwMDk4>
> .
> NAML
> <http://gstreamer-devel.966125.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>




--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/usr-bin-ld-cannot-find-lgstreamer-0-10-plus-other-missing-modules-tp4679528p4679573.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160913/7763e2bc/attachment.html>


More information about the gstreamer-devel mailing list