Answer the question
In order to leave comments, you need to log in
Do not build Qt. Looks for libQt5Core.so, and there is libQt5Core.so.5.15.2. What to do?
Not going to Qt.
libQt5Core is being built. But only in the form of libQt5Core.so.5.15.2
The following library asks for libQt5Core.so I build it
with the commandmake module-qtbase -j5
rm -f libQt5Network.so.5.15.2 libQt5Network.so libQt5Network.so.5 libQt5Network.so.5.15
g++ -Wl,--no-undefined -Wl,--version-script,QtNetwork.version -Wl,-O1 -Wl,--enable-new-dtags -Wl,-z,origin -Wl,-rpath,\$ORIGIN -shared -Wl,-Bsymbolic-functions -Wl,-soname,libQt5Network.so.5 -o libQt5Network.so.5.15.2 .obj/qnetworkaccessauthenticationmanager.o .obj/qnetworkaccessmanager.o .obj/qnetworkaccesscache.o .obj/qnetworkaccessbackend.o .obj/qnetworkaccessdebugpipebackend.o .obj/qnetworkaccessfilebackend.o .obj/qnetworkaccesscachebackend.o .obj/qnetworkcookie.o .obj/qnetworkcookiejar.o .obj/qnetworkrequest.o .obj/qnetworkreply.o .obj/qnetworkreplyimpl.o .obj/qnetworkreplydataimpl.o .obj/qnetworkreplyfileimpl.o .obj/qabstractnetworkcache.o .obj/qnetworkfile.o .obj/qhsts.o .obj/qhstspolicy.o .obj/qftp.o .obj/qnetworkaccessftpbackend.o .obj/qnetworkdiskcache.o .obj/qhstsstore.o .obj/bitstreams.o .obj/huffman.o .obj/hpack.o .obj/hpacktable.o .obj/http2frames.o .obj/http2streams.o .obj/http2protocol.o .obj/qabstractprotocolhandler.o .obj/qhttp2protocolhandler.o .obj/qhttpmultipart.o .obj/qhttpnetworkconnection.o .obj/qhttpnetworkconnectionchannel.o .obj/qhttpnetworkheader.o .obj/qhttpnetworkreply.o .obj/qhttpnetworkrequest.o .obj/qhttpprotocolhandler.o .obj/qhttpthreaddelegate.o .obj/qnetworkreplyhttpimpl.o .obj/qhttp2configuration.o .obj/qnetworksession.o .obj/qnetworkconfigmanager.o .obj/qnetworkconfiguration.o .obj/qnetworkconfigmanager_p.o .obj/qbearerengine.o .obj/qbearerplugin.o .obj/qsharednetworksession.o .obj/qauthenticator.o .obj/qhostaddress.o .obj/qhostinfo.o .obj/qnetworkdatagram.o .obj/qnetworkinterface.o .obj/qnetworkproxy.o .obj/qurlinfo.o .obj/qdnslookup.o .obj/qdnslookup_unix.o .obj/qhostinfo_unix.o .obj/qnetworkinterface_linux.o .obj/qnetconmonitor_stub.o .obj/qnetworkproxy_generic.o .obj/qabstractsocketengine.o .obj/qabstractsocket.o .obj/qtcpsocket.o .obj/qudpsocket.o .obj/qtcpserver.o .obj/qhttpsocketengine.o .obj/qnativesocketengine.o .obj/qnativesocketengine_unix.o .obj/qlocalsocket.o .obj/qlocalserver.o .obj/qlocalsocket_unix.o .obj/qlocalserver_unix.o .obj/qasn1element.o .obj/qssl.o .obj/qsslcertificate.o .obj/qsslcertificateextension.o .obj/qsslcertificate_qt.o .obj/qpassworddigestor.o .obj/moc_qnetworkaccesscache_p.o .obj/moc_qnetworkaccessbackend_p.o .obj/moc_qnetworkaccessdebugpipebackend_p.o .obj/moc_qnetworkaccessfilebackend_p.o .obj/moc_qnetworkcookiejar.o .obj/moc_qnetworkreply.o .obj/moc_qabstractnetworkcache.o .obj/moc_qnetworkfile_p.o .obj/moc_qnetworkaccessftpbackend_p.o .obj/moc_qnetworkdiskcache.o .obj/moc_qhttp2protocolhandler_p.o .obj/moc_qhttpmultipart.o .obj/moc_qhttpnetworkreply_p.o .obj/moc_qhttpthreaddelegate_p.o .obj/moc_qnetworkreplyhttpimpl_p.o .obj/moc_qnetworkconfigmanager_p.o .obj/moc_qnetworksession_p.o .obj/moc_qbearerplugin_p.o .obj/moc_qhostinfo_p.o .obj/moc_qnetworkproxy.o .obj/moc_qnetconmonitor_p.o .obj/moc_qdnslookup_p.o .obj/moc_qabstractsocketengine_p.o .obj/moc_qtcpsocket.o .obj/moc_qudpsocket.o .obj/moc_qhttpsocketengine_p.o .obj/moc_qnativesocketengine_p.o /home/mint/common2/devel/qt5_build/qtbase/lib/libQt5Core.so -lpthread -lz -ldl
g++: error: /home/mint/common2/devel/qt5_build/qtbase/lib/libQt5Core.so: Нет такого файла или каталога
Makefile:512: recipe for target '../../lib/libQt5Network.so.5.15.2' failed
make[3]: *** [../../lib/libQt5Network.so.5.15.2] Error 1
make[3]: выход из каталога «/home/mint/common2/devel/qt5_build/qtbase/src/network»
Makefile:246: recipe for target 'sub-network-make_first' failed
make[2]: *** [sub-network-make_first] Error 2
make[2]: выход из каталога «/home/mint/common2/devel/qt5_build/qtbase/src»
Makefile:50: recipe for target 'sub-src-make_first' failed
make[1]: *** [sub-src-make_first] Error 2
make[1]: выход из каталога «/home/mint/common2/devel/qt5_build/qtbase»
Makefile:59: recipe for target 'module-qtbase' failed
make: *** [module-qtbase] Error 2
../qt5/configure \
-verbose \
-prefix "~/common2/devel/qt5_libs" \
-confirm-license \
-recheck-all \
-release \
-opensource \
-c++std c++17 \
-platform linux-g++ \
-nomake examples \
-nomake tests \
-nomake tools \
-gstreamer 1.0 \
-opengl es2 \
-no-pch \
-no-dbus \
-no-cups \
-no-use-gold-linker \
-no-compile-examples \
-skip connectivity \
-skip location \
-skip webengine \
-skip wayland \
-skip webview \
-skip webchannel \
-skip websockets \
-skip 3d \
-skip canvas3d \
-skip datavis3d \
-skip purchasing \
-skip speech \
-skip script \
-skip gamepad \
-skip charts \
-skip quickcontrols \
-skip sensors \
-skip serialbus \
-skip macextras \
-skip winextras \
-skip androidextras \
-skip networkauth \
-skip tools \
-no-feature-accessibility \
-no-feature-statemachine \
-no-feature-socks5 \
Answer the question
In order to leave comments, you need to log in
This is normal and ubiquitous, not only for qt.
ln -s libQt5Core.so.5.15.2 libQt5Core.so
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question