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

[BUG] curl: undefined symbol: curl_easy_header #1159

Open
avgnerd opened this issue Apr 23, 2024 · 9 comments
Open

[BUG] curl: undefined symbol: curl_easy_header #1159

avgnerd opened this issue Apr 23, 2024 · 9 comments
Labels

Comments

@avgnerd
Copy link

avgnerd commented Apr 23, 2024

What happened?

Steps to reproduce:

sudo box install rtorrent

Swizzin commit

953e4c7

What OS are you using?

Ubuntu 22.04 (Jammy)

What architecture is your OS?

arm64

Relevant logs and output

INFO    Installing rtorrent
DOCS    Further reference: https://swizzin.ltd/applications/rtorrent
/etc/swizzin/sources/functions/rtorrent: line 132: cd: mktorrent: No such file or directory
...     Building c-ares from source
        v   Done
...     Building curl from source
        v   Done
...     Building xmlrpc-c from source
        v   Done
...     Building libtorrent from source
curl: symbol lookup error: curl: undefined symbol: curl_easy_header
ERROR   Something went wrong while configuring libtorrent
        Please consult the above and/or check the log (less -R +G /root/logs/swizzin.log)
@avgnerd avgnerd added the bug label Apr 23, 2024
@stickz
Copy link
Contributor

stickz commented Apr 25, 2024

Need more information from swizzin.log.

@avgnerd
Copy link
Author

avgnerd commented Apr 27, 2024

swizzin.log

@stickz
Copy link
Contributor

stickz commented Apr 27, 2024

Please provide curl --version. libtorrent failed to download during installation. It may be related to curl.

@avgnerd
Copy link
Author

avgnerd commented Apr 27, 2024

ubuntu@:~$ curl --version
curl: symbol lookup error: curl: undefined symbol: curl_easy_header

@stickz
Copy link
Contributor

stickz commented Apr 27, 2024

Try box upgrade curl then do curl --version to see if the problem persists. We have narrowed the problem down to curl.

@avgnerd
Copy link
Author

avgnerd commented Apr 28, 2024

I still get a symbol lookup error.
swizzin.log

@stickz
Copy link
Contributor

stickz commented Apr 28, 2024

Could you provide the output of hash -t curl?

@avgnerd
Copy link
Author

avgnerd commented Apr 28, 2024

ubuntu@:~$ hash -t curl
-bash: hash: curl: not found

@Anthrapper
Copy link

sudo rm -rf /usr/local/bin/curl* this solved the issue for me

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

No branches or pull requests

3 participants