Discussion:
[blfs-support] gst-plugins-base-1.14.0 compiling error => cannot find /usr/bin/ld: cannot find -lgstvideo-1.0
jens thys
2018-04-04 21:53:06 UTC
Permalink
Here is my output during compiling.

make[6]: Leaving directory
'/var/cache/scratchpkg/sources/gst-plugins-base-1.14.0/tests/examples/gl/generic'
make[5]: Leaving directory
'/var/cache/scratchpkg/sources/gst-plugins-base-1.14.0/tests/examples/gl/generic'
Making all in qt
make[5]: Entering directory
'/var/cache/scratchpkg/sources/gst-plugins-base-1.14.0/tests/examples/gl/qt'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory
'/var/cache/scratchpkg/sources/gst-plugins-base-1.14.0/tests/examples/gl/qt'
Making all in sdl
make[5]: Entering directory
'/var/cache/scratchpkg/sources/gst-plugins-base-1.14.0/tests/examples/gl/sdl'
CCLD sdlshare
/usr/bin/ld: cannot find -lgstvideo-1.0
collect2: error: ld returned 1 exit status
make[5]: *** [Makefile:659: sdlshare] Error 1
make[5]: Leaving directory
'/var/cache/scratchpkg/sources/gst-plugins-base-1.14.0/tests/examples/gl/sdl'
make[4]: *** [Makefile:630: all-recursive] Error 1
make[4]: Leaving directory
'/var/cache/scratchpkg/sources/gst-plugins-base-1.14.0/tests/examples/gl'
make[3]: *** [Makefile:905: gl] Error 2
make[3]: Leaving directory
'/var/cache/scratchpkg/sources/gst-plugins-base-1.14.0/tests/examples'
make[2]: *** [Makefile:639: all-recursive] Error 1
make[2]: Leaving directory
'/var/cache/scratchpkg/sources/gst-plugins-base-1.14.0/tests'
make[1]: *** [Makefile:748: all-recursive] Error 1
make[1]: Leaving directory
'/var/cache/scratchpkg/sources/gst-plugins-base-1.14.0'
make: *** [Makefile:679: all] Error 2

I could overcome this error and compile the package with the following
./configure option ( added --disable-examples):

./configure --prefix=/usr \
--with-package-name="GStreamer Base Plugins $version
(Nyx)"\
--disable-examples
Wayne Blaszczyk
2018-04-28 03:52:06 UTC
Permalink
Post by jens thys
Here is my output during compiling.
make[6]: Leaving directory '/var/cache/scratchpkg/sources/gst-plugins-base-1.14.0/tests/examples/gl/generic'
make[5]: Leaving directory '/var/cache/scratchpkg/sources/gst-plugins-base-1.14.0/tests/examples/gl/generic'
Making all in qt
make[5]: Entering directory '/var/cache/scratchpkg/sources/gst-plugins-base-1.14.0/tests/examples/gl/qt'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory '/var/cache/scratchpkg/sources/gst-plugins-base-1.14.0/tests/examples/gl/qt'
Making all in sdl
make[5]: Entering directory '/var/cache/scratchpkg/sources/gst-plugins-base-1.14.0/tests/examples/gl/sdl'
CCLD sdlshare
/usr/bin/ld: cannot find -lgstvideo-1.0
collect2: error: ld returned 1 exit status
make[5]: *** [Makefile:659: sdlshare] Error 1
make[5]: Leaving directory '/var/cache/scratchpkg/sources/gst-plugins-base-1.14.0/tests/examples/gl/sdl'
make[4]: *** [Makefile:630: all-recursive] Error 1
make[4]: Leaving directory '/var/cache/scratchpkg/sources/gst-plugins-base-1.14.0/tests/examples/gl'
make[3]: *** [Makefile:905: gl] Error 2
make[3]: Leaving directory '/var/cache/scratchpkg/sources/gst-plugins-base-1.14.0/tests/examples'
make[2]: *** [Makefile:639: all-recursive] Error 1
make[2]: Leaving directory '/var/cache/scratchpkg/sources/gst-plugins-base-1.14.0/tests'
make[1]: *** [Makefile:748: all-recursive] Error 1
make[1]: Leaving directory '/var/cache/scratchpkg/sources/gst-plugins-base-1.14.0'
make: *** [Makefile:679: all] Error 2
./configure --prefix=/usr \
--with-package-name="GStreamer Base Plugins $version (Nyx)"\
--disable-examples
I'm surprised why no one has responded to this.
I can confirm the above issue on a clean environment.
That is, if libgstvideo-1.0.* is not already installed on the system,
then the above linking error occurs.

Regards,
Wayne.
--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs
Loading...