On 08/02/2019 17:21, Roger Koehler via blfs-dev wrote: > On Fri, Feb 8, 2019 at 2:22 AM Pierre Labastie via blfs-dev > <[email protected]> wrote: >> >> Hi, >> >> Trying to build qtwebengine-5.12.1 (for x86_64), I applied the patch (done >> automatically by jhalfs), and the build failed quickly. Looking at the >> source, >> it seems to me that the proper macro is now defined if gcc is used... So I >> wonder whether the patch is still needed. Maybe, Douglas can confirm it is >> not. Otherwise, I'll update my 32 bit VM and try (may take some time). > > FYI, I am still unable to build Qt for some reason. Using make -j1 I > get these messages leading up to the error: > > rm -f libQt5Xml.so.5.12.1 libQt5Xml.so libQt5Xml.so.5 libQt5Xml.so.5.12 > g++ -Wl,--no-undefined -Wl,--version-script,QtXml.version -Wl,-O1 > -fuse-ld=gold -Wl,--enable-new-dtags -shared -Wl,-Bsymbolic- > functions -Wl,-soname,libQt5Xml.so.5 -o libQt5Xml.so.5.12.1 > .obj/qdom.o .obj/qxml.o -L/var/lib/sources/qt5/qt-everywhere-src- > 5.12.1/qtbase/lib -lQt5Core -lpthread > ln -s libQt5Xml.so.5.12.1 libQt5Xml.so > ln -s libQt5Xml.so.5.12.1 libQt5Xml.so.5 > ln -s libQt5Xml.so.5.12.1 libQt5Xml.so.5.12 > rm -f ../../lib/libQt5Xml.so.5.12.1 > mv -f libQt5Xml.so.5.12.1 ../../lib/libQt5Xml.so.5.12.1 > rm -f ../../lib/libQt5Xml.so > rm -f ../../lib/libQt5Xml.so.5 > rm -f ../../lib/libQt5Xml.so.5.12 > mv -f libQt5Xml.so ../../lib/libQt5Xml.so > mv -f libQt5Xml.so.5 ../../lib/libQt5Xml.so.5 > mv -f libQt5Xml.so.5.12 ../../lib/libQt5Xml.so.5.12 > make[4]: Leaving directory > '/var/lib/sources/qt5/qt-everywhere-src-5.12.1/qtbase/src/xml' > cd tools/qvkgen/ && ( test -e Makefile || > /var/lib/sources/qt5/qt-everywhere-src-5.12.1/qtbase/bin/qmake -o > Makefile > /var/lib/sources/qt5/qt-everywhere-src-5.12.1/qtbase/src/tools/qvkgen/qvkgen.pro > ) && make -f Makefile > make[4]: Entering directory > '/var/lib/sources/qt5/qt-everywhere-src-5.12.1/qtbase/src/tools/qvkgen' > g++ -c -pipe -O2 -std=c++1z -fno-exceptions -Wall -W -Wvla -Wdate-time > -Wshift-overflow=2 -Wduplicated-cond -Wno-stringop-overflow > -D_REENTRANT -fPIC -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT > -DQT_USE_QSTRINGBUILDER -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE > -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_CORE_LIB -I. -I../../../include > -I../../../include/QtCore -I.moc -I../../../mkspecs/linux-g++ -o > .obj/qvkgen.o qvkgen.cpp > g++ -Wl,-O1 -fuse-ld=gold -Wl,--enable-new-dtags -o > ../../../bin/qvkgen .obj/qvkgen.o > -L/var/lib/sources/qt5/qt-everywhere-src-5.12.1/qtbase/lib -lQt5Core > -lpthread > make[4]: Leaving directory > '/var/lib/sources/qt5/qt-everywhere-src-5.12.1/qtbase/src/tools/qvkgen' > cd gui/ && ( test -e Makefile || > /var/lib/sources/qt5/qt-everywhere-src-5.12.1/qtbase/bin/qmake -o > Makefile /var/lib/sources/qt5/qt-everywhere-src-5.12.1/qtbase/src/gui/gui.pro > ) && make -f Makefile > make[4]: Entering directory > '/var/lib/sources/qt5/qt-everywhere-src-5.12.1/qtbase/src/gui' > /var/lib/sources/qt5/qt-everywhere-src-5.12.1/qtbase/src/gui/qvkgen_wrapper.sh > vulkan/vk.xml /var/lib/sources/qt5/qt-everywhere-src-5.12.1/qtbase/header.LGPL > vulkan/qvulkanfunctions > /var/lib/sources/qt5/qt-everywhere-src-5.12.1/qtbase/bin/qvkgen: error > while loading shared libraries: libQt5Core.so.5: cannot open shared > object file: No such file or directory > make[4]: *** [Makefile:2063: vulkan/qvulkanfunctions.h] Error 127 > > I am curious what others see in their log file. Search for vulkan. >
My log file is mangled, since I used -j4, but I do see the same commands as in yours, except of course the last one... I suspect some old libQt5Core.so.5 file (it is a symlink) is found by the ld-linux-x86_64/so.2 loader, and that the symlink is broken. If you install qt5 in /opt try "find /opt -name libQt5Core\*". If you install in /usr try "find /usr -name libQt5Core\*". If something appears, try removing what appears... Pierre -- http://lists.linuxfromscratch.org/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
