Tiny Core Linux

Tiny Core Extensions => TCE Bugs => Topic started by: Dies Irae on April 07, 2024, 12:22:41 PM

Title: curl.tcz.dep misses libzstd.tcz for x86 TC 14 and 15
Post by: Dies Irae on April 07, 2024, 12:22:41 PM
curl version 8.4.0 for TinyCore x86 v14 and 15 was compiled with zstd.

It is missing from the curl.tcz.dep file causing curl to not start.

Affected version:  curl.tcz.md5.txt: 4da63bc90693510d7ace7bd289621f4b  curl.tcz

Reproduce:
Code: [Select]
$ tce-load -wil curl
$ curl --help
curl: error while loading shared libraries: libzstd.so.1: cannot open shared object file: No such file or directory

$ tce-load -wil libzstd.tcz
$ curl --help
Usage: curl [options...] <url>

Possible solutions:
Code: [Select]
echo 'libzstd.tcz' >> 14.x/x86/tcz/curl.tcz.dep
echo 'libzstd.tcz' >> 15.x/x86/tcz/curl.tcz.dep
Title: Re: curl.tcz.dep misses libzstd.tcz for x86 TC 14 and 15
Post by: CNK on April 10, 2024, 03:19:58 AM
curl version 8.4.0 for TinyCore x86 v14 and 15 was compiled with zstd.

It is missing from the curl.tcz.dep file causing curl to not start.

This problem is also present with the x86_64 curl.tcz extension.
Title: Re: curl.tcz.dep misses libzstd.tcz for x86 TC 14 and 15
Post by: Juanito on April 10, 2024, 07:10:29 AM
I’ll be able to fix things in a few days time - unless @Rich gets there first :P
Title: Re: curl.tcz.dep misses libzstd.tcz for x86 TC 14 and 15
Post by: Dies Irae on April 10, 2024, 10:02:22 AM
well, if we don't want the overhead for zstd... THEN it is recompile time.
If we  DO want  zstd, then it's 'just' a matter of adding the missing dep entry (and update the .tree)
Title: Re: curl.tcz.dep misses libzstd.tcz for x86 TC 14 and 15
Post by: Rich on April 10, 2024, 10:04:22 AM
Hi Juanito
Rich got there first. :)
32 and 64 bit TC14 and TC15 repos updated.

TC14 updates flagged mariadb-11.2-client.tcz missing from the repos.
I'll contact andyj.
Title: Re: curl.tcz.dep misses libzstd.tcz for x86 TC 14 and 15
Post by: Dies Irae on April 10, 2024, 10:13:05 AM
Confirm, i see the added dependency (14 and 15 for x86 and 64bit). Thx!