On 01/16/2019 11:08 AM, Roger Koehler via blfs-dev wrote:
make[4]: Entering directory
'/var/lib/sources/qt5/qt-everywhere-src-5.12.0/qtbase/src/gui'
/var/lib/sources/qt5/qt-everywhere-src-5.12.0/qtbase/src/gui/qvkgen_wrapper.sh
vulkan/vk.xml /var/lib/sources/qt5/qt-everywhere-src-5.12.0/qtbase/header.LGPL
vulkan/qvulkanfunctions
/var/lib/sources/qt5/qt-everywhere-src-5.12.0/qtbase/bin/qvkgen: error
while loading shared libraries: libQt5Core.so.5: cannot open shared
object file: No such file or directory
make[4]: *** [Makefile:2061: vulkan/qvulkanfunctions.h] Error 127
make[4]: Leaving directory
'/var/lib/sources/qt5/qt-everywhere-src-5.12.0/qtbase/src/gui'
Is qt being installed in in /usr or /opt? If /opt, make sure
/etc/ld.so.conf is updated and in either case run ldconfig.
Right. That is done at the end of the script. I'll move it to the front ...
Same error. Does this mean I need the binaries before I can build?
I jsut built qt5-5.12.0 without problem.
make[3]: Entering directory
'/mnt/tmp/qt5/qt-everywhere-src-5.12.0/qtbase/src/gui'
/mnt/tmp/qt5/qt-everywhere-src-5.12.0/qtbase/src/gui/qvkgen_wrapper.sh
vulkan/vk.xml /mnt/tmp/qt5/qt-everywhere-src-5.12.0/qtbase/header.LGPL
vulkan/qvulkanfunctions
g++ -c -include .pch/Qt5Network -pipe -DOPENSSL_API_COMPAT=0x10100000L
-O2 -std=c++1z -fvisibility=hidden -fvisibility-inlines-hidden
-fno-exceptions -Wall -W -Wvla -Wdate-time -Wshift-overflow=2
-Wduplicated-cond -Wno-stringop-overflow -D_REENTRANT -fPIC
-DQT_NO_USING_NAMESPACE -DQT_NO_FOREACH -DQT_USE_SYSTEM_PROXIES
-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_NETWORK_LIB
-DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS
-DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS
-DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -DQT_NO_EXCEPTIONS
-D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_CORE_LIB
-I. -Ikernel -I../../include -I../../include/QtNetwork
-I../../include/QtNetwork/5.12.0
-I../../include/QtNetwork/5.12.0/QtNetwork -I../../include/QtCore/5.12.0
-I../../include/QtCore/5.12.0/QtCore -I../../include/QtCore -I.moc
-I../../mkspecs/linux-g++ -o .obj/qnetworkcookie.o access/qnetworkcookie.cpp
perl
/mnt/tmp/qt5/qt-everywhere-src-5.12.0/qtbase/mkspecs/features/data/unix/findclasslist.pl
< QtGui.version.in > QtGui.version
I do see:
qt-everywhere-src-5.12.0/qtbase/src/gui/qvkgen_wrapper.sh
and that has:
#!/bin/sh
LD_LIBRARY_PATH=/mnt/tmp/qt5/qt-everywhere-src-5.12.0/qtbase/lib${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}
export LD_LIBRARY_PATH
QT_PLUGIN_PATH=/mnt/tmp/qt5/qt-everywhere-src-5.12.0/qtbase/plugins${QT_PLUGIN_PATH:+:$QT_PLUGIN_PATH}
export QT_PLUGIN_PATH
exec /mnt/tmp/qt5/qt-everywhere-src-5.12.0/qtbase/bin/qvkgen "$@"
$ ldd /mnt/tmp/qt5/qt-everywhere-src-5.12.0/qtbase/bin/qvkgen
linux-vdso.so.1 (0x00007fffe494c000)
libQt5Core.so.5 => /opt/qt5/lib/libQt5Core.so.5
(0x00007fe6dd57b000)
libpthread.so.0 => /lib/libpthread.so.0 (0x00007fe6dd55a000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007fe6dd3cf000)
libm.so.6 => /lib/libm.so.6 (0x00007fe6dd24c000)
libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x00007fe6dd232000)
libc.so.6 => /lib/libc.so.6 (0x00007fe6dd071000)
libz.so.1 => /lib/libz.so.1 (0x00007fe6dd052000)
libicui18n.so.63 => /usr/lib/libicui18n.so.63 (0x00007fe6dcd5a000)
libicuuc.so.63 => /usr/lib/libicuuc.so.63 (0x00007fe6dcb7f000)
libicudata.so.63 => /usr/lib/libicudata.so.63 (0x00007fe6db191000)
libpcre2-16.so.0 => /usr/lib/libpcre2-16.so.0 (0x00007fe6db13a000)
libdl.so.2 => /lib/libdl.so.2 (0x00007fe6db135000)
libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0
(0x00007fe6db12e000)
libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x00007fe6db00e000)
/lib64/ld-linux-x86-64.so.2 (0x00007fe6ddadd000)
libpcre.so.1 => /lib/libpcre.so.1 (0x00007fe6dafc7000)
but looking at /mnt/tmp/qt5/qt-everywhere-src-5.12.0/qtbase/lib has the
qt libraries also.
Make sure LD_LIBRARY_PATH is unset; but otherwise I can't think of any
other things to try.
-- Bruce
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page