CurtTilmes / raku-libcurl

A Raku interface to libcurl.
Other
19 stars 9 forks source link

fails to install in Android terminal emulator due to supposedly missing curl dependency #23

Open stuart-little opened 3 years ago

stuart-little commented 3 years ago

I am on Android 10 running Termux. It's a terminal emulator that's allowed me to build and install raku, zef, etc.

I have a curl executable:

$ curl --version
curl 7.74.0 (aarch64-unknown-linux-android) libcurl/7.74.0 OpenSSL/1.1.1i zlib/1.2.11 libssh2/1.9.0 nghttp2/1.42.0
Release-Date: 2020-12-09
Protocols: dict file ftp ftps gopher http https imap imaps mqtt pop3 pop3s rtsp scp sftp smb smbs smtp smtps telnet tftp
Features: alt-svc AsynchDNS HTTP2 HTTPS-proxy IPv6 Largefile libz NTLM NTLM_WB SSL UnixSockets

Nevertheless:

$ zef install LibCurl
===> Searching for: LibCurl
===> Searching for missing dependencies: NativeLibs:ver<0.0.7+>:auth<github:salortiz>, curl:ver<4>:from<native>, Test::When
===> Failed to find dependencies: curl:ver<4>:from<native>
Failed to resolve some missing dependencies

Should I be reporting this in the zef repo instead? In any case, it somehow fails to resolve that dependency when trying to install this module.

Edit:

There's now also a zef issue regarding this.

stuart-little commented 3 years ago

I believe this has been resolved now: I had libcurl.so but not libcurl.so.4, so I symlinked the former to the latter.