Tiny Core Extensions > TCE Talk

libglib-2.0.so linked againset PCRE 10.47 and not 10.42

(1/1)

adb014:
Not really a bug as it doesn't seem to cause problems, but starting from a newly downloaded glib2.tcz file, I see


--- Code: ---% wget http://tinycorelinux.net/17.x/x86_64/tcz/glib2.tcz
% mkdir glib
% unsquashfs -f -d "glib" glib2.tcz
% objdump -p glib/usr/local/lib/libglib-2.0.so | grep PCRE2
    0x0870b7f7 0x00 04 PCRE2_10.47

--- End code ---

However,


--- Code: ---% wget http://tinycorelinux.net/17.x/x86_64/tcz/glib2.tcz.dep
% cat glib2.tcz.dep
 libffi.tcz
pcre21042.tcz

--- End code ---

So the dependency is PCRE2 10.42 officially.


--- Code: ---% wget http://tinycorelinux.net/17.x/x86_64/tcz/pcre21042.tcz
% mkdir pcre
% unsquashfs -f -d "pcre" pcre21042.tcz
% ldd  glib/usr/local/lib/libglib-2.0.so
..
libpcre2-8.so.0 => ...
% objdump  -p pcre/usr/local/lib/libpcre2-8.so.0  | grep PCRE2
2 0x00 0x0870b7f7 PCRE2_10.47

--- End code ---

So the version of PCRE2 in the package pcre21042.tcz is not 10.42 but rather 10.47.. As I said, weird, but it doesn't seem to cause problems. Wouldn't it be better to rename pcre21042.tcz as pcre21047.tcz and change all the dependencies ?

adb014:
One step further


--- Code: ---% http://tinycorelinux.net/17.x/x86_64/tcz/pcre21042.tcz.info
% cat pcre21042.tcz.info
Title:          pcre21042.tcz
Description:    perl compatible libraries
Version:        10.47
Author:         see list of sites below
Original-site:  see list of sites below
Copying-policy: see list of sites below
Size: 788KB
Extension_by:   juanito
Tags:         perl compatible library
Comments:       perl compatible regular expression libraries
                ----------
                can optionally use the bzip2-lib and readline extensions
                ----------
                This extension contains:
                pcre2-10.47 - BSD - https://github.com/PCRE2Project/pcre2/releases/download/pcre2-10.47/pcre2-10.47.tar.bz2
                ----------
Change-log:     2016/08/21 first version
                2018/12/24 updated 10.22 -> 10.32, renamed
                2023/11/09 updated 10.32 -> 10.42, renamed
Current:        2025/12/05 updated 10.42 -> 10.47

--- End code ---

So I suppose its offical, but still weird

Navigation

[0] Message Index

Go to full version