WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: libglib-2.0.so linked againset PCRE 10.47 and not 10.42  (Read 131 times)

Offline adb014

  • Newbie
  • *
  • Posts: 29
libglib-2.0.so linked againset PCRE 10.47 and not 10.42
« on: March 27, 2026, 07:25:42 AM »
Not really a bug as it doesn't seem to cause problems, but starting from a newly downloaded glib2.tcz file, I see

Code: [Select]
% 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

However,

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

So the dependency is PCRE2 10.42 officially.

Code: [Select]
% 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

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 ?
« Last Edit: March 27, 2026, 07:37:09 AM by adb014 »

Offline adb014

  • Newbie
  • *
  • Posts: 29
Re: libglib-2.0.so linked againset PCRE 10.47 and not 10.42
« Reply #1 on: March 27, 2026, 07:41:50 AM »
One step further

Code: [Select]
% 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

So I suppose its offical, but still weird