Hello Aureliano,

What happens if you try either of the lines below (without the quotes
or version number):

$ zef install Digest::SHA256::Native
$ zef upgrade Digest::SHA256::Native

Additionally, we may need some more information from you--specifically
which operating system you're on. I recently solved a Mac-specific
issue with LibCurl thanks to a timely update from Curt Tilmes. If
you're interested, the LibCurl issue is below, and also I've included
a link to a long discussion/issue below from the zef Github repo on how zef
finds native libraries, see:

https://github.com/CurtTilmes/raku-libcurl/issues/16
https://github.com/ugexe/zef/issues/356

Other than that, you may need to open an issue with the
Digest::SHA256::Native module's author, at the Github repo below:

https://github.com/bduggan/p6-digest-sha256-native

HTH, Bill.



On Mon, Jul 20, 2020 at 11:15 AM Aureliano Guedes
<guedes.aureli...@gmail.com> wrote:
>
> Thanks, I checked it out.
> now it is working
>
> But now I'm getting issues to install  zef install Jupyter::Kernel, the issue 
> itself is on Digest::SHA256::Native:ver<0.03> installation.
>
> $ zef install "Digest::SHA256::Native:ver<0.03>" --force-build --force-test
>>
>> ===> Searching for: Digest::SHA256::Native:ver<0.03>
>> ===> Building: Digest::SHA256::Native:ver<0.03>
>> [Digest::SHA256::Native] /usr/bin/ld: cannot find -lffi
>> [Digest::SHA256::Native] /usr/bin/ld: cannot find -ltommath
>> [Digest::SHA256::Native] /usr/bin/ld: cannot find -latomic_ops
>> [Digest::SHA256::Native] /usr/bin/ld: cannot find -luv
>> [Digest::SHA256::Native] collect2: error: ld returned 1 exit status
>> [Digest::SHA256::Native] make: *** 
>> [/home/acpguedes/.zef/store/Digest-SHA256-Native-0.03.tar.gz/Digest-SHA256-Native-0.03/resources/libraries/libsha256.so]
>>  Error 1
>> [Digest::SHA256::Native] The spawned command 'make' exited unsuccessfully 
>> (exit code: 2)
>> [Digest::SHA256::Native]   in method build at 
>> /home/acpguedes/.zef/store/Digest-SHA256-Native-0.03.tar.gz/Digest-SHA256-Native-0.03/Build.pm
>>  line 14
>> [Digest::SHA256::Native]   in block <unit> at -e line 1
>> ===> Building [FAIL]: Digest::SHA256::Native:ver<0.03>
>> [Digest::SHA256::Native] Failed to build, but continuing with --force-build
>> ===> Testing: Digest::SHA256::Native:ver<0.03>
>> [Digest::SHA256::Native] Cannot locate native library 
>> '/home/acpguedes/.zef/store/Digest-SHA256-Native-0.03.tar.gz/Digest-SHA256-Native-0.03/resources/libraries/libsha256.so':
>>  
>> /home/acpguedes/.zef/store/Digest-SHA256-Native-0.03.tar.gz/Digest-SHA256-Native-0.03/resources/libraries/libsha256.so:
>>  cannot open shared object file: No such file or directory
>> [Digest::SHA256::Native]   in method setup at 
>> /usr/lib/perl6/sources/24DD121B5B4774C04A7084827BFAD92199756E03 (NativeCall) 
>> line 290
>> [Digest::SHA256::Native]   in method CALL-ME at 
>> /usr/lib/perl6/sources/24DD121B5B4774C04A7084827BFAD92199756E03 (NativeCall) 
>> line 577
>> [Digest::SHA256::Native]   in sub sha256-hex at 
>> /home/acpguedes/.zef/store/Digest-SHA256-Native-0.03.tar.gz/Digest-SHA256-Native-0.03/lib/Digest/SHA256/Native.pm6
>>  (Digest::SHA256::Native) line 19
>> [Digest::SHA256::Native]   in sub sha256-hex at 
>> /home/acpguedes/.zef/store/Digest-SHA256-Native-0.03.tar.gz/Digest-SHA256-Native-0.03/lib/Digest/SHA256/Native.pm6
>>  (Digest::SHA256::Native) line 9
>> [Digest::SHA256::Native]   in block <unit> at t/01-basic.t line 6
>> [Digest::SHA256::Native] Cannot locate native library 
>> '/home/acpguedes/.zef/store/Digest-SHA256-Native-0.03.tar.gz/Digest-SHA256-Native-0.03/resources/libraries/libsha256.so':
>>  
>> /home/acpguedes/.zef/store/Digest-SHA256-Native-0.03.tar.gz/Digest-SHA256-Native-0.03/resources/libraries/libsha256.so:
>>  cannot open shared object file: No such file or directory
>> [Digest::SHA256::Native]   in method setup at 
>> /usr/lib/perl6/sources/24DD121B5B4774C04A7084827BFAD92199756E03 (NativeCall) 
>> line 290
>> [Digest::SHA256::Native]   in method CALL-ME at 
>> /usr/lib/perl6/sources/24DD121B5B4774C04A7084827BFAD92199756E03 (NativeCall) 
>> line 577
>> [Digest::SHA256::Native]   in sub sha256-hex at 
>> /home/acpguedes/.zef/store/Digest-SHA256-Native-0.03.tar.gz/Digest-SHA256-Native-0.03/lib/Digest/SHA256/Native.pm6
>>  (Digest::SHA256::Native) line 19
>> [Digest::SHA256::Native]   in block <unit> at t/02-blob.t line 7
>> [Digest::SHA256::Native] Cannot locate native library 
>> '/home/acpguedes/.zef/store/Digest-SHA256-Native-0.03.tar.gz/Digest-SHA256-Native-0.03/resources/libraries/libsha256.so':
>>  
>> /home/acpguedes/.zef/store/Digest-SHA256-Native-0.03.tar.gz/Digest-SHA256-Native-0.03/resources/libraries/libsha256.so:
>>  cannot open shared object file: No such file or directory
>> [Digest::SHA256::Native]   in method setup at 
>> /usr/lib/perl6/sources/24DD121B5B4774C04A7084827BFAD92199756E03 (NativeCall) 
>> line 290
>> [Digest::SHA256::Native]   in method CALL-ME at 
>> /usr/lib/perl6/sources/24DD121B5B4774C04A7084827BFAD92199756E03 (NativeCall) 
>> line 577
>> [Digest::SHA256::Native]   in sub sha256-hex at 
>> /home/acpguedes/.zef/store/Digest-SHA256-Native-0.03.tar.gz/Digest-SHA256-Native-0.03/lib/Digest/SHA256/Native.pm6
>>  (Digest::SHA256::Native) line 19
>> [Digest::SHA256::Native]   in sub sha256-hex at 
>> /home/acpguedes/.zef/store/Digest-SHA256-Native-0.03.tar.gz/Digest-SHA256-Native-0.03/lib/Digest/SHA256/Native.pm6
>>  (Digest::SHA256::Native) line 9
>> [Digest::SHA256::Native]   in sub sha256 at 
>> /home/acpguedes/.zef/store/Digest-SHA256-Native-0.03.tar.gz/Digest-SHA256-Native-0.03/lib/Digest/SHA256/Native.pm6
>>  (Digest::SHA256::Native) line 27
>> [Digest::SHA256::Native]   in block <unit> at t/03-sha256.t line 6
>> [Digest::SHA256::Native] Cannot locate native library 
>> '/home/acpguedes/.zef/store/Digest-SHA256-Native-0.03.tar.gz/Digest-SHA256-Native-0.03/resources/libraries/libsha256.so':
>>  
>> /home/acpguedes/.zef/store/Digest-SHA256-Native-0.03.tar.gz/Digest-SHA256-Native-0.03/resources/libraries/libsha256.so:
>>  cannot open shared object file: No such file or directory
>> [Digest::SHA256::Native]   in method setup at 
>> /usr/lib/perl6/sources/24DD121B5B4774C04A7084827BFAD92199756E03 (NativeCall) 
>> line 290
>> [Digest::SHA256::Native]   in method CALL-ME at 
>> /usr/lib/perl6/sources/24DD121B5B4774C04A7084827BFAD92199756E03 (NativeCall) 
>> line 577
>> [Digest::SHA256::Native]   in sub sha256-hex at 
>> /home/acpguedes/.zef/store/Digest-SHA256-Native-0.03.tar.gz/Digest-SHA256-Native-0.03/lib/Digest/SHA256/Native.pm6
>>  (Digest::SHA256::Native) line 19
>> [Digest::SHA256::Native]   in sub sha256-hex at 
>> /home/acpguedes/.zef/store/Digest-SHA256-Native-0.03.tar.gz/Digest-SHA256-Native-0.03/lib/Digest/SHA256/Native.pm6
>>  (Digest::SHA256::Native) line 9
>> [Digest::SHA256::Native]   in block <unit> at t/04-big.t line 4
>> [Digest::SHA256::Native] Cannot locate native library 
>> '/home/acpguedes/.zef/store/Digest-SHA256-Native-0.03.tar.gz/Digest-SHA256-Native-0.03/resources/libraries/libsha256.so':
>>  
>> /home/acpguedes/.zef/store/Digest-SHA256-Native-0.03.tar.gz/Digest-SHA256-Native-0.03/resources/libraries/libsha256.so:
>>  cannot open shared object file: No such file or directory
>> [Digest::SHA256::Native]   in method setup at 
>> /usr/lib/perl6/sources/24DD121B5B4774C04A7084827BFAD92199756E03 (NativeCall) 
>> line 290
>> [Digest::SHA256::Native]   in method CALL-ME at 
>> /usr/lib/perl6/sources/24DD121B5B4774C04A7084827BFAD92199756E03 (NativeCall) 
>> line 577
>> [Digest::SHA256::Native]   in sub sha256-hex at 
>> /home/acpguedes/.zef/store/Digest-SHA256-Native-0.03.tar.gz/Digest-SHA256-Native-0.03/lib/Digest/SHA256/Native.pm6
>>  (Digest::SHA256::Native) line 19
>> [Digest::SHA256::Native]   in sub sha256-hex at 
>> /home/acpguedes/.zef/store/Digest-SHA256-Native-0.03.tar.gz/Digest-SHA256-Native-0.03/lib/Digest/SHA256/Native.pm6
>>  (Digest::SHA256::Native) line 9
>> [Digest::SHA256::Native]   in block <unit> at t/05-many.t line 7
>> [Digest::SHA256::Native] An operation first awaited:
>> [Digest::SHA256::Native]   in block <unit> at t/06-threads.t line 13
>> [Digest::SHA256::Native] Died with the exception:
>> [Digest::SHA256::Native]     Cannot locate native library 
>> '/home/acpguedes/.zef/store/Digest-SHA256-Native-0.03.tar.gz/Digest-SHA256-Native-0.03/resources/libraries/libsha256.so':
>>  
>> /home/acpguedes/.zef/store/Digest-SHA256-Native-0.03.tar.gz/Digest-SHA256-Native-0.03/resources/libraries/libsha256.so:
>>  cannot open shared object file: No such file or directory
>> [Digest::SHA256::Native]       in method setup at 
>> /usr/lib/perl6/sources/24DD121B5B4774C04A7084827BFAD92199756E03 (NativeCall) 
>> line 290
>> [Digest::SHA256::Native]       in method CALL-ME at 
>> /usr/lib/perl6/sources/24DD121B5B4774C04A7084827BFAD92199756E03 (NativeCall) 
>> line 577
>> [Digest::SHA256::Native]       in sub sha256-hex at 
>> /home/acpguedes/.zef/store/Digest-SHA256-Native-0.03.tar.gz/Digest-SHA256-Native-0.03/lib/Digest/SHA256/Native.pm6
>>  (Digest::SHA256::Native) line 19
>> [Digest::SHA256::Native]       in sub sha256-hex at 
>> /home/acpguedes/.zef/store/Digest-SHA256-Native-0.03.tar.gz/Digest-SHA256-Native-0.03/lib/Digest/SHA256/Native.pm6
>>  (Digest::SHA256::Native) line 9
>> [Digest::SHA256::Native]       in block  at t/06-threads.t line 10
>> ===> Testing [FAIL]: Digest::SHA256::Native:ver<0.03>
>> [Digest::SHA256::Native] Failed to get passing tests, but continuing with 
>> --force-test
>> ===> Installing: Digest::SHA256::Native:ver<0.03>
>> ===> Install [FAIL] for Digest::SHA256::Native:ver<0.03>: Failed to open 
>> file 
>> /home/acpguedes/.zef/store/Digest-SHA256-Native-0.03.tar.gz/Digest-SHA256-Native-0.03/resources/libraries/libsha256.so:
>>  No such file or directory
>> Failed to open file 
>> /home/acpguedes/.zef/store/Digest-SHA256-Native-0.03.tar.gz/Digest-SHA256-Native-0.03/resources/libraries/libsha256.so:
>>  No such file or directory
>
>
>
> On Mon, Jul 20, 2020 at 1:10 PM JJ Merelo <jjmer...@gmail.com> wrote:
>>
>>
>>
>> El lun., 20 jul. 2020 a las 18:03, Aureliano Guedes 
>> (<guedes.aureli...@gmail.com>) escribió:
>>>
>>> Hi all,
>>>
>>> I'm trying to figure out why I cannot install any package with zef.
>>>
>>> $ raku --version
>>> This is Rakudo version 2020.06 built on MoarVM version 2020.06
>>> implementing Raku 6.d.
>>>
>>> zef install Acme::Insult::Lala
>>> ===SORRY!===
>>> No candidate found for 'zef' that match your criteria.
>>> Did you perhaps mean one of these?
>>>   Distribution | Author(ity) | Version
>>>                |             |
>>>                |             |
>>>                |             |
>>>                |             |
>>
>>
>> This error does not seem to correspond to the command line... It's as if you 
>> were looking for zef. That happens when you don't have an updated version of 
>> the tool and the repos and nothing downloaded locally.  My hunch is that you 
>> might have an old version of zef; failing that, the repo index must be 
>> corrupted somehow. In any case, install zef (not using zef, but reinstalling 
>> it from repos or with rakudobrew) and you will fix it.
>>
>>
>>
>> --
>> JJ
>
>
>
> --
> Aureliano Guedes
> skype: aureliano.guedes
> contato:  (11) 94292-6110
> whatsapp +5511942926110

Reply via email to