We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OS: Ubuntu 20.04 x86_64 GNU commit id of qbittorrent-nox-static.sh:f921957 build commands:
export qbt_qt_version=6.2 ./qbittorrent-nox-static.sh all -c -o -s -lt v2.0.5
error info:
[463/647] Building CXX object src/plugins/tls/certonly/CMakeFiles/QTlsBackendCertOnlyPlugin_init.dir/QTlsBackendCertOnlyPlugin_init.cpp.o [464/647] Building CXX object src/plugins/tls/openssl/CMakeFiles/QTlsBackendOpenSSLPlugin_init.dir/QTlsBackendOpenSSLPlugin_init.cpp.o [465/647] Linking CXX executable libexec/qlalr FAILED: libexec/qlalr : && /usr/bin/c++ -march=native -std=c++17 -static -w -s -I/home/public/softwares/qbittorrent-nox-static-master/qbt-build/include -DNDEBUG -O3 -march=native -static -L/home/public/softwares/qbittorrent-nox-static-master/qbt-build/lib -Wl,--gc-sections -Wl,--enable-new-dtags src/tools/qlalr/CMakeFiles/qlalr.dir/qlalr_autogen/mocs_compilation.cpp.o src/tools/qlalr/CMakeFiles/qlalr.dir/compress.cpp.o src/tools/qlalr/CMakeFiles/qlalr.dir/cppgenerator.cpp.o src/tools/qlalr/CMakeFiles/qlalr.dir/dotgraph.cpp.o src/tools/qlalr/CMakeFiles/qlalr.dir/grammar.cpp.o src/tools/qlalr/CMakeFiles/qlalr.dir/lalr.cpp.o src/tools/qlalr/CMakeFiles/qlalr.dir/main.cpp.o src/tools/qlalr/CMakeFiles/qlalr.dir/parsetable.cpp.o src/tools/qlalr/CMakeFiles/qlalr.dir/recognizer.cpp.o -o libexec/qlalr lib/libQt6Core.a lib/libQt6Core.a lib/libQt6Core.a /home/public/softwares/qbittorrent-nox-static-master/qbt-build/lib/libz.a -lm lib/libQt6BundledPcre2.a -ldl /usr/lib/x86_64-linux-gnu/libglib-2.0.so /usr/lib/x86_64-linux-gnu/libgthread-2.0.so -lrt -lpthread && : /usr/bin/ld: lib/libQt6Core.a(qlibrary_unix.cpp.o): in function `QLibraryPrivate::load_sys()': qlibrary_unix.cpp:(.text._ZN15QLibraryPrivate8load_sysEv+0x848): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking /usr/bin/ld: attempted static link of dynamic object `/usr/lib/x86_64-linux-gnu/libglib-2.0.so' collect2: error: ld returned 1 exit status [466/647] Linking CXX executable libexec/qvkgen FAILED: libexec/qvkgen : && /usr/bin/c++ -march=native -std=c++17 -static -w -s -I/home/public/softwares/qbittorrent-nox-static-master/qbt-build/include -DNDEBUG -O3 -march=native -static -L/home/public/softwares/qbittorrent-nox-static-master/qbt-build/lib -Wl,--gc-sections -Wl,--enable-new-dtags src/tools/qvkgen/CMakeFiles/qvkgen.dir/qvkgen_autogen/mocs_compilation.cpp.o src/tools/qvkgen/CMakeFiles/qvkgen.dir/qvkgen.cpp.o -o libexec/qvkgen lib/libQt6Core.a lib/libQt6Core.a lib/libQt6Core.a /home/public/softwares/qbittorrent-nox-static-master/qbt-build/lib/libz.a -lm lib/libQt6BundledPcre2.a -ldl /usr/lib/x86_64-linux-gnu/libglib-2.0.so /usr/lib/x86_64-linux-gnu/libgthread-2.0.so -lrt -lpthread && : /usr/bin/ld: lib/libQt6Core.a(qlibrary_unix.cpp.o): in function `QLibraryPrivate::load_sys()': qlibrary_unix.cpp:(.text._ZN15QLibraryPrivate8load_sysEv+0x848): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking /usr/bin/ld: attempted static link of dynamic object `/usr/lib/x86_64-linux-gnu/libglib-2.0.so' collect2: error: ld returned 1 exit status [467/647] Linking CXX executable bin/qtpaths FAILED: bin/qtpaths : && /usr/bin/c++ -march=native -std=c++17 -static -w -s -I/home/public/softwares/qbittorrent-nox-static-master/qbt-build/include -DNDEBUG -O3 -march=native -static -L/home/public/softwares/qbittorrent-nox-static-master/qbt-build/lib -Wl,--gc-sections -Wl,--enable-new-dtags qmake/CMakeFiles/QtLibraryInfo.dir/library/proitems.cpp.o qmake/CMakeFiles/QtLibraryInfo.dir/property.cpp.o qmake/CMakeFiles/QtLibraryInfo.dir/propertyprinter.cpp.o qmake/CMakeFiles/QtLibraryInfo.dir/qmakelibraryinfo.cpp.o src/tools/qtpaths/CMakeFiles/qtpaths.dir/qtpaths_autogen/mocs_compilation.cpp.o src/tools/qtpaths/CMakeFiles/qtpaths.dir/qtpaths.cpp.o -o bin/qtpaths lib/libQt6Core.a lib/libQt6Core.a lib/libQt6Core.a /home/public/softwares/qbittorrent-nox-static-master/qbt-build/lib/libz.a -lm lib/libQt6BundledPcre2.a -lpthread -ldl /usr/lib/x86_64-linux-gnu/libglib-2.0.so /usr/lib/x86_64-linux-gnu/libgthread-2.0.so -lrt && : /usr/bin/ld: lib/libQt6Core.a(qlibrary_unix.cpp.o): in function `QLibraryPrivate::load_sys()': qlibrary_unix.cpp:(.text._ZN15QLibraryPrivate8load_sysEv+0x848): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking /usr/bin/ld: attempted static link of dynamic object `/usr/lib/x86_64-linux-gnu/libglib-2.0.so' collect2: error: ld returned 1 exit status [468/647] Automatic MOC for target Network AutoMoc: /home/public/softwares/qbittorrent-nox-static-master/qbt-build/qtbase-everywhere-src-6.2.2/src/network/access/qnetworkaccessdebugpipebackend_p.h:0:1: note: No relevant classes found. No output generated. [469/647] Building CXX object qmake/CMakeFiles/qmake.dir/cmake_pch.hxx.gch [470/647] Building CXX object src/sql/CMakeFiles/Sql.dir/cmake_pch.hxx.gch [471/647] Building CXX object src/tools/uic/CMakeFiles/uic.dir/ui4.cpp.o [472/647] Building CXX object src/concurrent/CMakeFiles/Concurrent.dir/cmake_pch.hxx.gch [473/647] Building CXX object src/tools/androiddeployqt/CMakeFiles/androiddeployqt.dir/main.cpp.o [474/647] Building CXX object src/xml/CMakeFiles/Xml.dir/cmake_pch.hxx.gch ninja: build stopped: subcommand failed. ● Error: The build command produced an exit code greater than 0 - Check the logs
Please help to find out what is the problem, Thank you.
The text was updated successfully, but these errors were encountered:
It's because you have those deps installed and qt6 defaults to using them. Just build using the docker method
https://userdocs.github.io/qbittorrent-nox-static/#/script-installation?id=docker-via-ssh
Sorry, something went wrong.
Thank you, i will try it and report result.
https://userdocs.github.io/qbittorrent-nox-static/#/script-installation?id=docker-via-ssh Follow the steps and it's ok now. Thanks.
But is it possible to allow user specify where the glibc is?
/usr/bin/ld: attempted static link of dynamic object `/usr/lib/x86_64-linux-gnu/libglib-2.0.so'
This is not libc, this is glib, https://packages.ubuntu.com/focal/libglib2.0-0 and since you have it installed QT is trying to link to it
Just use the docker method.
No branches or pull requests
OS: Ubuntu 20.04 x86_64 GNU
commit id of qbittorrent-nox-static.sh:f921957
build commands:
error info:
Please help to find out what is the problem, Thank you.
The text was updated successfully, but these errors were encountered: