-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
build static aria2 have error #1908
Comments
My initial guess is that your linux (?) is too old or some sort. Ubuntu 20.04 should work. |
this is CentOS 7.9 x64 latest version. there is my command to make build static aria2c. before you have latest update then i can make build static as normal.
|
hello @tatsuhiro-t , i just make build static aria2c with Ubuntu 20.04 and it work fine. but can you give tutorial how to make build it in CentOS 7 with your latest update? there is command for who want make build static in Ubuntu 20.04
|
You may try my build: https://github.com/abcfy2/aria2-static-build/releases/tag/continuous |
hello @tatsuhiro-t , i found problem aria2c can't build in CentOS 7 with your latest update. the Source: https://man7.org/linux/man-pages/man3/getentropy.3.html#VERSIONS
|
We cannot support old OS forever. Cent OS is EOL in few years. Better to be upgraded to something new. |
You can try my build with musl static build. It works for most Linux distro. Includes CentOS 7. |
hello, i need more than 16 connection per server, that reason i need make custom static build.
so, can fix ssl cert in CentOS7 when use build from Ubuntu ? |
@abcfy2 i just test 2 file from aria2-x86_64-linux-musl_libressl_static.zip and aria2-x86_64-linux-musl_static.zip in CentOS 7 and always get error with SSL
|
@jazz1611 You may try: export SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt
./aria2c .... I'll update README later about this issue. |
|
Seems you still use a very old CentOS 7 without do any If export SSL_CERT_FILE=/etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem And this file should exist. |
@abcfy2
i have try with this command and it work
but with this url it fail.
if use custom build without
|
I can't reproduce your issue. I run a fresh CentOS 7 from docker: docker run --rm -it centos:7 Then: # ./aria2c "https://store4.gofile.io/download/844ac2c6-c71e-4334-aa7d-af0115b307ad/demo.mp4" --ca-certificate='/etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem'
04/18 09:50:53 [NOTICE] Downloading 1 item(s)
[#446ad5 0B/0B CN:1 DL:0B]
04/18 09:50:55 [NOTICE] CUID#7 - Redirecting to https://file37.gofile.io/download/844ac2c6-c71e-4334-aa7d-af0115b307ad/demo.mp4
[#446ad5 0B/0B CN:1 DL:0B]
04/18 09:50:56 [NOTICE] CUID#7 - Redirecting to https://gofile.io/d/9d38327d-8899-4deb-b2b8-86d68aa50fef
[#446ad5 0B/28KiB(0%) CN:1 DL:13KiB ETA:2s]
04/18 09:50:59 [NOTICE] Download complete: /9d38327d-8899-4deb-b2b8-86d68aa50fef
Download Results:
gid |stat|avg speed |path/URI
======+====+===========+=======================================================
446ad5|OK | 49KiB/s|/9d38327d-8899-4deb-b2b8-86d68aa50fef
Status Legend:
(OK):download completed. And set # SSL_CERT_FILE=/etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem ./aria2c "https://store4.gofile.io/download/844ac2c6-c71e-4334-aa7d-af0115b307ad/demo.mp4"
04/18 09:53:04 [NOTICE] Downloading 1 item(s)
[#066184 0B/0B CN:1 DL:0B]
04/18 09:53:05 [NOTICE] CUID#7 - Redirecting to https://file37.gofile.io/download/844ac2c6-c71e-4334-aa7d-af0115b307ad/demo.mp4
[#066184 0B/0B CN:1 DL:0B]
04/18 09:53:07 [NOTICE] CUID#7 - Redirecting to https://gofile.io/d/9d38327d-8899-4deb-b2b8-86d68aa50fef
[#066184 0B/0B CN:1 DL:0B]
04/18 09:53:09 [NOTICE] Download complete: /9d38327d-8899-4deb-b2b8-86d68aa50fef
Download Results:
gid |stat|avg speed |path/URI
======+====+===========+=======================================================
066184|OK | 98KiB/s|/9d38327d-8899-4deb-b2b8-86d68aa50fef
Status Legend:
(OK):download completed. |
@abcfy2 i just try build from your script with custom flag in Ubuntu 20.04 and copy aria2c to CentOS 7, it working perfectly.
if your script can auto detect SSL cert file |
That's impossible. See issue: openssl/openssl#7481 But most distros will contains But if your distro does not contains |
thank you guys. my case was resolved. hope you can notice there error in your page then user can easy to know it. i still use CentOS 7 because my project can't run higher OS at this time. |
My build will store download cache in You can merge the PR locally and use Then move NOTE: |
getentropy is related to glibc version,I've tested this PR, it works for me: |
hello @tatsuhiro-t,
i just make new build static aria2 with latest your update. but it have error when run
make
. there is log. can you check it?The text was updated successfully, but these errors were encountered: