Closed andinus closed 7 months ago
Installing with zef install -v --exclude="curl:ver<4>:from<native>" LibCurl:
zef install -v --exclude="curl:ver<4>:from<native>" LibCurl
===> Fetching [OK]: LibCurl:ver<1.5>:auth<github:CurtTilmes>:api<1> to /tmp/.zef/ 1712656322.33248/1712656343.33248.1251.6143559529203/ LibCurl%3Aver%3C1.5%3E%3Aauth%3Cgithub%3ACurtTilmes%3E%3Aapi%3C1%3E.tar.gz ===> Extraction [OK]: LibCurl to /tmp/.zef/1712656322.33248/ LibCurl%3Aver%3C1.5%3E%3Aauth%3Cgithub%3ACurtTilmes%3E%3Aapi%3C1%3E.tar.gz ===> Extraction [OK]: JSON::Fast to /tmp/.zef/1712656322.33248/ JSON%3A%3AFast%3Aver%3C0.19%3E%3Aauth%3Ccpan%3ATIMOTIMO%3E.tar.gz ===> Extraction [OK]: Test::When to /tmp/.zef/1712656322.33248/ Test%3A%3AWhen%3Aver%3C1.001009%3E%3Aauth%3Czef%3Araku-community-modules%3E.tar.gz ===> Extraction [OK]: NativeLibs:ver<0.0.7+>:auth<github:salortiz> to /tmp/.zef/1712656322.33248/ NativeLibs%3Aver%3C0.0.9%3E%3Aauth%3Cgithub%3Asalortiz%3E.tar.gz ===> Staging NativeLibs:ver<0.0.9>:auth<github:salortiz> ===> Staging [OK] for NativeLibs:ver<0.0.9>:auth<github:salortiz> ===> Staging JSON::Fast:ver<0.19>:auth<cpan:TIMOTIMO> ===> Staging [OK] for JSON::Fast:ver<0.19>:auth<cpan:TIMOTIMO> ===> Staging Test::When:ver<1.001009>:auth<zef:raku-community-modules> ===> Staging [OK] for Test::When:ver<1.001009>:auth<zef:raku-community-modules> ===> Staging LibCurl:ver<1.5>:auth<github:CurtTilmes>:api<1> ===SORRY!=== Error while compiling /home/examples.raku.org/examples/home#sources389530C42F82C4B2540AF14B99A5580F7EDFCD1B (LibCurl::HTTP) Cannot locate native library 'curl': File not found at /home/examples.raku.org/examples/home#sources/389530C42F82C4B2540AF14B99A5580F7EDFCD1B (LibCurl::HTTP):3
andinus@ /usr/local/lib> ls -lAh *curl* -rw-r--r-- 1 root bin 9.8M Feb 5 23:32 libcurl.a -rw-r--r-- 1 root bin 894B Feb 5 23:32 libcurl.la lrwxr-xr-x 1 root wheel 16B Apr 9 09:32 libcurl.so@ -> libcurl.so.26.24 -rw-r--r-- 1 root bin 879K Feb 5 23:32 libcurl.so.26.24
Installation without exclude flag fails with:
exclude
===> Searching for: LibCurl ===> Found: LibCurl:ver<1.5>:auth<github:CurtTilmes>:api<1> [via Zef::Repository::Ecosystems<rea>] ===> Searching for missing dependencies: NativeLibs:ver<0.0.7+>:auth<github:salortiz>, JSON::Fast, curl:ver<4>:from<native>, Test::When ===> Failed to find dependencies: curl:ver<4>:from<native> Failed to resolve some missing dependencies (use e.g. --exclude="curl" to skip)
Symlinking libcurl.so.4 fixes this.
libcurl.so.4
lrwxr-xr-x 1 root wheel 16B Apr 9 11:18 libcurl.so.4@ -> libcurl.so.26.24
Installing with
zef install -v --exclude="curl:ver<4>:from<native>" LibCurl
:Installation without
exclude
flag fails with: