Zarfy no detecta correctamente GTK

Post Reply
ArtEze
Posts: 43
Joined: Thu Oct 22, 2020 5:58 am
Been thanked: 1 time

Zarfy no detecta correctamente GTK

Post by ArtEze »

Tengo este problema, zarfy tiene incompatibilidad entre GTK 2 y GTK 3.

Code: Select all

(zarfy:22466): Gtk-ERROR **: 10:18:08.112: GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is not supported
`trap' para punto de parada/seguimiento

Salida de ldd:

Code: Select all

/usr/bin/zarfy
	linux-vdso.so.1 (0x00007ffcd6b43000)
	libm.so.6 => /usr/lib/libm.so.6 (0x00007f5c81664000)
	libX11.so.6 => /usr/lib/libX11.so.6 (0x00007f5c81521000)
	libgdk_pixbuf_xlib-2.0.so.0 => /usr/lib/libgdk_pixbuf_xlib-2.0.so.0 (0x00007f5c8150d000)
	libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0x00007f5c81506000)
	libglade-2.0.so.0 => /usr/lib/libglade-2.0.so.0 (0x00007f5c81439000)
	libgtk-x11-2.0.so.0 => /usr/lib/libgtk-x11-2.0.so.0 (0x00007f5c80fc5000)
	libgdk-x11-2.0.so.0 => /usr/lib/libgdk-x11-2.0.so.0 (0x00007f5c80f06000)
	libpangocairo-1.0.so.0 => /usr/lib/libpangocairo-1.0.so.0 (0x00007f5c80ef6000)
	libatk-1.0.so.0 => /usr/lib/libatk-1.0.so.0 (0x00007f5c80ece000)
	libcairo.so.2 => /usr/lib/libcairo.so.2 (0x00007f5c80d95000)
	libgdk_pixbuf-2.0.so.0 => /usr/lib/libgdk_pixbuf-2.0.so.0 (0x00007f5c80d4f000)
	libgio-2.0.so.0 => /usr/lib/libgio-2.0.so.0 (0x00007f5c80b74000)
	libpangoft2-1.0.so.0 => /usr/lib/libpangoft2-1.0.so.0 (0x00007f5c80b5d000)
	libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0x00007f5c80af3000)
	libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0x00007f5c80a91000)
	libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x00007f5c80945000)
	libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x00007f5c808f6000)
	libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x00007f5c80826000)
	libxml2.so.2 => /usr/lib/libxml2.so.2 (0x00007f5c806bc000)
	libXrandr.so.2 => /usr/lib/libXrandr.so.2 (0x00007f5c806af000)
	libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007f5c806aa000)
	libc.so.6 => /usr/lib/libc.so.6 (0x00007f5c804c8000)
	/lib64/ld-linux-x86-64.so.2 => /usr/lib/ld-2.38.so (0x00007f5c81753000)
	libxcb.so.1 => /usr/lib/libxcb.so.1 (0x00007f5c8049d000)
	libgtk-3.so.0 => /usr/lib/libgtk-3.so.0 (0x00007f5c7fcc5000)
	libgdk-3.so.0 => /usr/lib/libgdk-3.so.0 (0x00007f5c7fbcc000)
	libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x00007f5c7fba7000)
	libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0x00007f5c7fb9f000)
	libXrender.so.1 => /usr/lib/libXrender.so.1 (0x00007f5c7fb92000)
	libXinerama.so.1 => /usr/lib/libXinerama.so.1 (0x00007f5c7fb8b000)
	libXi.so.6 => /usr/lib/libXi.so.6 (0x00007f5c7fb77000)
	libXcursor.so.1 => /usr/lib/libXcursor.so.1 (0x00007f5c7fb6b000)
	libXcomposite.so.1 => /usr/lib/libXcomposite.so.1 (0x00007f5c7fb66000)
	libXdamage.so.1 => /usr/lib/libXdamage.so.1 (0x00007f5c7fb61000)
	libXext.so.6 => /usr/lib/libXext.so.6 (0x00007f5c7fb4c000)
	libharfbuzz.so.0 => /usr/lib/libharfbuzz.so.0 (0x00007f5c7fa3c000)
	libz.so.1 => /usr/lib/libz.so.1 (0x00007f5c7fa22000)
	libpng16.so.16 => /usr/lib/libpng16.so.16 (0x00007f5c7f9e8000)
	libxcb-render.so.0 => /usr/lib/libxcb-render.so.0 (0x00007f5c7f9d9000)
	libxcb-shm.so.0 => /usr/lib/libxcb-shm.so.0 (0x00007f5c7f9d4000)
	libpixman-1.so.0 => /usr/lib/libpixman-1.so.0 (0x00007f5c7f927000)
	libjpeg.so.8 => /usr/lib/libjpeg.so.8 (0x00007f5c7f878000)
	libtiff.so.6 => /usr/lib/libtiff.so.6 (0x00007f5c7f7ea000)
	libmount.so.1 => /usr/lib/libmount.so.1 (0x00007f5c7f79a000)
	libfribidi.so.0 => /usr/lib/libfribidi.so.0 (0x00007f5c7f77a000)
	libthai.so.0 => /usr/lib/libthai.so.0 (0x00007f5c7f76f000)
	libffi.so.8 => /usr/lib/libffi.so.8 (0x00007f5c7f762000)
	libpcre2-8.so.0 => /usr/lib/libpcre2-8.so.0 (0x00007f5c7f6c7000)
	libexpat.so.1 => /usr/lib/libexpat.so.1 (0x00007f5c7f69c000)
	libbz2.so.1.0 => /usr/lib/libbz2.so.1.0 (0x00007f5c7f689000)
	libbrotlidec.so.1 => /usr/lib/libbrotlidec.so.1 (0x00007f5c7f67a000)
	liblzma.so.5 => /usr/lib/liblzma.so.5 (0x00007f5c7f647000)
	libicuuc.so.74 => /usr/lib/libicuuc.so.74 (0x00007f5c7f437000)
	libXau.so.6 => /usr/lib/libXau.so.6 (0x00007f5c7f432000)
	libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00007f5c7f42a000)
	libcairo-gobject.so.2 => /usr/lib/libcairo-gobject.so.2 (0x00007f5c7f41f000)
	libepoxy.so.0 => /usr/lib/libepoxy.so.0 (0x00007f5c7f2ee000)
	libatk-bridge-2.0.so.0 => /usr/lib/libatk-bridge-2.0.so.0 (0x00007f5c7f2b3000)
	libcloudproviders.so.0 => /usr/lib/libcloudproviders.so.0 (0x00007f5c7f299000)
	libtracker-sparql-3.0.so.0 => /usr/lib/libtracker-sparql-3.0.so.0 (0x00007f5c7f1bd000)
	libxkbcommon.so.0 => /usr/lib/libxkbcommon.so.0 (0x00007f5c7f174000)
	libwayland-client.so.0 => /usr/lib/libwayland-client.so.0 (0x00007f5c7f162000)
	libwayland-cursor.so.0 => /usr/lib/libwayland-cursor.so.0 (0x00007f5c7f158000)
	libwayland-egl.so.1 => /usr/lib/libwayland-egl.so.1 (0x00007f5c7f151000)
	libgraphite2.so.3 => /usr/lib/libgraphite2.so.3 (0x00007f5c7f12e000)
	libzstd.so.1 => /usr/lib/libzstd.so.1 (0x00007f5c7f05b000)
	libjbig.so.2.1 => /usr/lib/libjbig.so.2.1 (0x00007f5c7f04e000)
	libblkid.so.1 => /usr/lib/libblkid.so.1 (0x00007f5c7f010000)
	libdatrie.so.1 => /usr/lib/libdatrie.so.1 (0x00007f5c7f007000)
	libbrotlicommon.so.1 => /usr/lib/libbrotlicommon.so.1 (0x00007f5c7efe4000)
	libicudata.so.74 => /usr/lib/libicudata.so.74 (0x00007f5c7d286000)
	libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007f5c7d00b000)
	libatspi.so.0 => /usr/lib/libatspi.so.0 (0x00007f5c7cfd1000)
	libdbus-1.so.3 => /usr/lib/libdbus-1.so.3 (0x00007f5c7cf7e000)
	libjson-glib-1.0.so.0 => /usr/lib/libjson-glib-1.0.so.0 (0x00007f5c7cf54000)
	libsqlite3.so.0 => /usr/lib/libsqlite3.so.0 (0x00007f5c7cdf5000)
	libsystemd.so.0 => /usr/lib/libsystemd.so.0 (0x00007f5c7cd01000)
	libcap.so.2 => /usr/lib/libcap.so.2 (0x00007f5c7ccf9000)
	libgcrypt.so.20 => /usr/lib/libgcrypt.so.20 (0x00007f5c7cbae000)
	liblz4.so.1 => /usr/lib/liblz4.so.1 (0x00007f5c7cb8c000)
	libgpg-error.so.0 => /usr/lib/libgpg-error.so.0 (0x00007f5c7cb66000)

readelf -d $(which zarfy)

Code: Select all


Dynamic section at offset 0xbcf0 contains 41 entries:
  Marca      Tipo                         Nombre/Valor
 0x0000000000000001 (NEEDED)             Biblioteca compartida: [libm.so.6]
 0x0000000000000001 (NEEDED)             Biblioteca compartida: [libX11.so.6]
 0x0000000000000001 (NEEDED)             Biblioteca compartida: [libgdk_pixbuf_xlib-2.0.so.0]
 0x0000000000000001 (NEEDED)             Biblioteca compartida: [libgmodule-2.0.so.0]
 0x0000000000000001 (NEEDED)             Biblioteca compartida: [libglade-2.0.so.0]
 0x0000000000000001 (NEEDED)             Biblioteca compartida: [libgtk-x11-2.0.so.0]
 0x0000000000000001 (NEEDED)             Biblioteca compartida: [libgdk-x11-2.0.so.0]
 0x0000000000000001 (NEEDED)             Biblioteca compartida: [libpangocairo-1.0.so.0]
 0x0000000000000001 (NEEDED)             Biblioteca compartida: [libatk-1.0.so.0]
 0x0000000000000001 (NEEDED)             Biblioteca compartida: [libcairo.so.2]
 0x0000000000000001 (NEEDED)             Biblioteca compartida: [libgdk_pixbuf-2.0.so.0]
 0x0000000000000001 (NEEDED)             Biblioteca compartida: [libgio-2.0.so.0]
 0x0000000000000001 (NEEDED)             Biblioteca compartida: [libpangoft2-1.0.so.0]
 0x0000000000000001 (NEEDED)             Biblioteca compartida: [libpango-1.0.so.0]
 0x0000000000000001 (NEEDED)             Biblioteca compartida: [libgobject-2.0.so.0]
 0x0000000000000001 (NEEDED)             Biblioteca compartida: [libglib-2.0.so.0]
 0x0000000000000001 (NEEDED)             Biblioteca compartida: [libfontconfig.so.1]
 0x0000000000000001 (NEEDED)             Biblioteca compartida: [libfreetype.so.6]
 0x0000000000000001 (NEEDED)             Biblioteca compartida: [libxml2.so.2]
 0x0000000000000001 (NEEDED)             Biblioteca compartida: [libXrandr.so.2]
 0x0000000000000001 (NEEDED)             Biblioteca compartida: [libpthread.so.0]
 0x0000000000000001 (NEEDED)             Biblioteca compartida: [libc.so.6]
 0x000000000000000c (INIT)               0x404098
 0x000000000000000d (FINI)               0x409bc8
 0x0000000000000004 (HASH)               0x400278
 0x0000000000000005 (STRTAB)             0x402428
 0x0000000000000006 (SYMTAB)             0x400ad8
 0x000000000000000a (STRSZ)              3891 (bytes)
 0x000000000000000b (SYMENT)             24 (bytes)
 0x0000000000000015 (DEBUG)              0x0
 0x0000000000000003 (PLTGOT)             0x60c000
 0x0000000000000002 (PLTRELSZ)           2592 (bytes)
 0x0000000000000014 (PLTREL)             RELA
 0x0000000000000017 (JMPREL)             0x403678
 0x0000000000000007 (RELA)               0x4035e8
 0x0000000000000008 (RELASZ)             144 (bytes)
 0x0000000000000009 (RELAENT)            24 (bytes)
 0x000000006ffffffe (VERNEED)            0x403578
 0x000000006fffffff (VERNEEDNUM)         3
 0x000000006ffffff0 (VERSYM)             0x40335c
 0x0000000000000000 (NULL)               0x0
ArtEze
Posts: 43
Joined: Thu Oct 22, 2020 5:58 am
Been thanked: 1 time

Re: Zarfy no detecta correctamente GTK

Post by ArtEze »

Mientras el creador del programa no pase todo el código a GTK3 eliminando completamente la parte de GTK2 va a ser imposible.

Traté compilarlo pero salen errores de que no se permiten definiciones múltiples, y aún si pudiera sería GTK2.

User avatar
nilsonmorales
Posts: 177
Joined: Thu Dec 26, 2019 1:47 am
Location: El Salvador
Has thanked: 67 times
Been thanked: 105 times
Contact:

Re: Zarfy no detecta correctamente GTK

Post by nilsonmorales »

Hola ArtEze te vi haciendo una pregunta similar anteriormente, me llama la atención ya que me gustaria saber sobre que puppy estas haciendo las preguntas. un nuevo o viejo, que version de puppy, que kernel usa, veo que tienes conocimientos de compilación y puede ser útil.
de zarfy me parece haberlo visto en xenialpup creo o en bionic, tambien lo agregue a un viejo puppy que nunca puse a la venta hace años. y sí, el migrar a versiones de gtk siempre sera un problema.
saludos.
https://github.com/topics/xrandr

ArtEze
Posts: 43
Joined: Thu Oct 22, 2020 5:58 am
Been thanked: 1 time

Re: Zarfy no detecta correctamente GTK

Post by ArtEze »

Estoy con una modificación hecha por mí de LxPupSc64_20.06 y tiene el kernel 5.7.2-lxpup64 #1 SMP

Lo que hice fue instalarle el pacman de ArchLinux, pero sin usar Systemd. Actualmente el SFS pesa alrededor de 4 GB.

A raíz de esto estoy teniendo algunos problemas, entre estos, el de la compatibilidad de GTK.

Si pudieran compilar zarfy en estático me parecería bien. De esa manera sería imposible que lea librerías de GTK3.

No es que necesite zarfy ahora mismo, pero podría necesitarlo en el futuro, quizás.

Post Reply

Return to “Usuarios de habla Hispana”