Skip to content
New issue

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

static-glibc.sh failed to linking qbittorrent #3

Closed
Jylijs opened this issue Apr 3, 2020 · 3 comments
Closed

static-glibc.sh failed to linking qbittorrent #3

Jylijs opened this issue Apr 3, 2020 · 3 comments

Comments

@Jylijs
Copy link

Jylijs commented Apr 3, 2020

I'm using Scaleway DEV1-L instances, OS: Debian 10

I run the following command:

wget https://github.com/userdocs/qbittorrent-nox-static/raw/master/qbittorrent-nox-static-glibc.sh -O a
time bash a all -nodel

And this is the reult:

linking qbittorrent-nox
/usr/bin/ld: /root/qbittorrent-build/lib/libQt5Core.a(qlibrary_unix.o): in function `qdlerror()':
qlibrary_unix.cpp:(.text._ZL8qdlerrorv+0xc): undefined reference to `dlerror'
/usr/bin/ld: /root/qbittorrent-build/lib/libQt5Core.a(qlibrary_unix.o): in function `QLibraryPrivate::unload_sys()':
qlibrary_unix.cpp:(.text._ZN15QLibraryPrivate10unload_sysEv+0x13): undefined reference to `dlclose'
/usr/bin/ld: /root/qbittorrent-build/lib/libQt5Core.a(qlibrary_unix.o): in function `QLibraryPrivate::resolve_sys(char const*)':
qlibrary_unix.cpp:(.text._ZN15QLibraryPrivate11resolve_sysEPKc+0x5): undefined reference to `dlsym'
/usr/bin/ld: /root/qbittorrent-build/lib/libQt5Core.a(qlibrary_unix.o): in function `QLibraryPrivate::load_sys()':
qlibrary_unix.cpp:(.text._ZN15QLibraryPrivate8load_sysEv+0x608): undefined reference to `dlopen'
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:594: qbittorrent-nox] Error 1
make[1]: Leaving directory '/root/qbittorrent-build/qbittorrent/src'
make: *** [Makefile:47: sub-src-make_first] Error 2
@userdocs
Copy link
Owner

userdocs commented Apr 3, 2020

I saw this when making some changes 9e06565 . I am unsure what changed as it appears platform related rather than script.

It is definitely related to the use of --static -static as this build script works fine without those.

I am still looking into the cause of this one. Any input is welcome.

@userdocs
Copy link
Owner

userdocs commented Apr 3, 2020

fixed with this commit e20f6c0

new qbittorrent 4.2.3 builds added as a result.

https://github.com/userdocs/qbittorrent-nox-static/tree/master/bin

Please test and confirm.

@Jylijs
Copy link
Author

Jylijs commented Apr 5, 2020

Thanks, both your build and the build script works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants