Cannot find library (Qt5.2.1 + Fedora 20 64-bit)
-
Just did the fresh install of Qt5.2.1 on Fedora 20 64-bit, when build my old project (it built before) it can’t find libraries:
/usr/bin/ld: cannot find -lxslt
/usr/bin/ld: cannot find -lgio-2.0
/usr/bin/ld: cannot find -lgstapp-0.10
/usr/bin/ld: cannot find -lgstinterfaces-0.10
/usr/bin/ld: cannot find -lgstpbutils-0.10
/usr/bin/ld: cannot find -lgstvideo-0.10
/usr/bin/ld: cannot find -lgstbase-0.10
/usr/bin/ld: cannot find -lgstreamer-0.10
/usr/bin/ld: cannot find -lgobject-2.0
/usr/bin/ld: cannot find -lgmodule-2.0
/usr/bin/ld: cannot find -lxml2
/usr/bin/ld: cannot find -lgthread-2.0
/usr/bin/ld: cannot find -lglib-2.0
collect2: error: ld returned 1 exit status
make: *** [CubeTimer] Error 1
22:35:40: The process “/usr/bin/make” exited with code 2.
Error while building/deploying project xxx (kit: Desktop Qt 5.2.1 GCC 64bit)
When executing step ‘Make’Any help, please?
-
Hi,
You are missing at least the gstreamer dev packages on your system. Just install them and you should be good to go
-
[quote author="SGaist" date="1396940834"]Hi,
You are missing at least the gstreamer dev packages on your system. Just install them and you should be good to go[/quote]
Thanks a lot, I installed gstreamer-devel package, and the error message is less:
/usr/bin/ld: cannot find -lxslt
/usr/bin/ld: cannot find -lgstapp-0.10
/usr/bin/ld: cannot find -lgstinterfaces-0.10
/usr/bin/ld: cannot find -lgstpbutils-0.10
/usr/bin/ld: cannot find -lgstvideo-0.10
collect2: error: ld returned 1 exit statuswhich package should I install for this?
Thanks!
-
libxslt-dev
The others are also gstreamer related packages, I don't have the corresponding name at hand but you should easily find them using your package manager
-
I am getting the same error
:-1: error: cannot find -lGLyum install libxslt-dev
No package libxslt-dev available.
Error: Nothing to dobut I did install
yum install libxslt-develbut it still gives me the same error
-
I am getting the same error
:-1: error: cannot find -lGLyum install libxslt-dev
No package libxslt-dev available.
Error: Nothing to dobut I did install
yum install libxslt-develbut it still gives me the same error
-
If anyone is looking to do this then "yum install qt-creator" worked for me
-
If anyone is looking to do this then "yum install qt-creator" worked for me
-
It's not the same, the -lGL error is about missing the OpenGL development libraries
-
It's not the same, the -lGL error is about missing the OpenGL development libraries