Tiny Core Extensions > TCE Bugs

librsvg.tcz update bug?

<< < (2/4) > >>

thane:
Thanks, I'll try that.

thane

Rich:
Hi thane
I just ran a scan on my 64 bit TC16 install and these were the extensions
that were dependent on libEGL.so (including libgbm.so) or libGLESv2.so:

--- Code: ---tc@box:~$ for F in `find /tmp/tcloop/ | grep -vE ".so.[0-9].*"`; do readelf -d $F 2> /dev/null | grep '(NEEDED)' | grep -oE "libEGL|libGLES|libgbm" && echo $F; done
libgbm
/tmp/tcloop/mesa/usr/local/lib/dri/crocus_dri.so
libgbm
/tmp/tcloop/mesa/usr/local/lib/dri/i915_dri.so
libgbm
/tmp/tcloop/mesa/usr/local/lib/dri/iris_dri.so
libgbm
/tmp/tcloop/mesa/usr/local/lib/dri/kms_swrast_dri.so
libgbm
/tmp/tcloop/mesa/usr/local/lib/dri/libdril_dri.so
libgbm
/tmp/tcloop/mesa/usr/local/lib/dri/nouveau_dri.so
libgbm
/tmp/tcloop/mesa/usr/local/lib/dri/r300_dri.so
libgbm
/tmp/tcloop/mesa/usr/local/lib/dri/r600_dri.so
libgbm
/tmp/tcloop/mesa/usr/local/lib/dri/radeonsi_dri.so
libgbm
/tmp/tcloop/mesa/usr/local/lib/dri/swrast_dri.so
libgbm
/tmp/tcloop/mesa/usr/local/lib/dri/virtio_gpu_dri.so
libgbm
/tmp/tcloop/mesa/usr/local/lib/dri/vmwgfx_dri.so
libgbm
/tmp/tcloop/mesa/usr/local/lib/dri/zink_dri.so
libgbm
/tmp/tcloop/libEGL/usr/local/lib/libEGL.so
libgbm
/tmp/tcloop/xorg-server/usr/local/lib/xorg/modules/drivers/modesetting_drv.so
libgbm
/tmp/tcloop/xorg-server/usr/local/lib/xorg/modules/libglamoregl.so
libEGL
libgbm
/tmp/tcloop/gst-plugins-base/usr/local/lib/libgstgl-1.0.so
libEGL
libGLES
/tmp/tcloop/libcanberra/usr/local/lib/gtk-2.0/modules/libcanberra-gtk-module.so
libEGL
libGLES
/tmp/tcloop/libcanberra/usr/local/lib/gtk-3.0/modules/libcanberra-gtk-module.so
libEGL
libGLES
/tmp/tcloop/libcanberra/usr/local/lib/gtk-3.0/modules/libcanberra-gtk3-module.so
libEGL
libGLES
/tmp/tcloop/libcanberra/usr/local/lib/libcanberra-gtk.so
libEGL
libGLES
/tmp/tcloop/libcanberra/usr/local/lib/libcanberra-gtk3.so
libEGL
/tmp/tcloop/mesa-demos/usr/local/bin/eglgears_wayland
libEGL
/tmp/tcloop/mesa-demos/usr/local/bin/eglgears_x11
libEGL
/tmp/tcloop/mesa-demos/usr/local/bin/eglinfo
libgbm
libEGL
/tmp/tcloop/mesa-demos/usr/local/bin/eglkms
libEGL
/tmp/tcloop/mesa-demos/usr/local/bin/egltri_wayland
libEGL
/tmp/tcloop/mesa-demos/usr/local/bin/egltri_x11
libGLES
libEGL
/tmp/tcloop/mesa-demos/usr/local/bin/es2_info
libGLES
libEGL
/tmp/tcloop/mesa-demos/usr/local/bin/es2gears_wayland
libGLES
libEGL
/tmp/tcloop/mesa-demos/usr/local/bin/es2gears_x11
libGLES
libEGL
/tmp/tcloop/mesa-demos/usr/local/bin/es2tri
libEGL
/tmp/tcloop/mesa-demos/usr/local/bin/peglgears
libEGL
/tmp/tcloop/mesa-demos/usr/local/bin/xeglgears
tc@box:~$
--- End code ---

These are the extensions that list libEGL.tcz or libGLESv2.tcz as dependecies:

--- Code: ---tc@box:~$ grep -E "libEGL|libGLES" /etc/sysconfig/tcedir/optional/*.dep
/etc/sysconfig/tcedir/optional/Xorg-7.7-3d.tcz.dep:libEGL.tcz
/etc/sysconfig/tcedir/optional/Xorg-7.7-3d.tcz.dep:libGLESv2.tcz
/etc/sysconfig/tcedir/optional/firefox.tcz.dep:libGLESv2.tcz
/etc/sysconfig/tcedir/optional/gst-plugins-bad.tcz.dep:libGLESv2.tcz
tc@box:~$
--- End code ---

thane:
Thanks Rich. My Apps lists both libEGL.tcz and libGLESv2.tcz as not required by any other extensions, but it appears that evince.tcz and the desktop on my Thinkpad do need those extensions (or at least libraries from them) to function. I'll check my setup for the extensions you list. I'll also do the update that GNUser suggested. It could be something in my setup is out-of-date.

thane

Rich:
Hi thane

--- Quote from: thane on November 15, 2025, 12:20:06 AM --- ... it appears that evince.tcz and the desktop on my Thinkpad do need those extensions (or at least libraries from them) to function. ...
--- End quote ---
Or their dependencies need them.
The previous command I posted relies on the  .so  link to libraries to be present.
Extensions that should not be linked against have them stripped out, leaving
only  .so.digit(s) , .so.digit(s).digit(s) , .so.digit(s).digit(s).digit(s). To further
complicate things, some extensions have only  .so  files with no version
numbers, like  mesa/usr/local/lib/dri/i915_dri.so.

This command filters out  .so.digit(s).digit(s) , .so.digit(s).digit(s).digit(s)  to
reduce output from the same libraries but allows  .so , .so.digit(s)  to be
processed by  readelf. I also had to escape the periods for grep:

--- Code: ---for F in `find /tmp/tcloop/ | grep -vE "\.so\.[0-9]+\.[0-9]+$|\.so\.[0-9]+\.[0-9]+\.[0-9]+$"`; do readelf -d $F 2> /dev/null | grep '(NEEDED)' | grep -oE "libEGL|libGLES|libgbm" && echo $F; done
--- End code ---

It will identify the dependency, executable, and extension.

libgbm (provided by libEGL.tcz) is required by crocus_dri.so which is in mesa.tcz:

--- Code: ---libgbm
/tmp/tcloop/mesa/usr/local/lib/dri/crocus_dri.so
--- End code ---

libEGL and libGLES are required by libcanberra-gtk-module.so which is in libcanberra.tcz:

--- Code: ---libEGL
libGLES
/tmp/tcloop/libcanberra/usr/local/lib/gtk-2.0/modules/libcanberra-gtk-module.so
--- End code ---

If you run this command on your machine, you can identify which extensions
actually depend on libEGL.tcz and/or libGLES.tcz.

Depending on the speed of your machine, this command may take a couple of minutes.

Juanito:
It's not obvious that evince is pulling in libEGL/GL/GLESv2 (I could be wrong).

What xserver and what desktop are you using?

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version