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

Mandar Joshi emailmandar at gmail.com
Wed Sep 14 06:23:32 UTC 2016


> $ 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
>
Have you set the PKG_CONFIG_PATH to something else?

Check if /usr/lib64/pkgconfig/gstreamer-1.0.pc exists


More information about the gstreamer-devel mailing list