waybox icon indicating copy to clipboard operation
waybox copied to clipboard

error while loading shared libraries: libxml2.so.2 but libxml2-2.14.2-2.1 is installed

Open K0-RR opened this issue 10 months ago • 2 comments

waybox
Environment variable $XAUTHORITY not set, ignoring.
/usr/lib/waybox: error while loading shared libraries: libxml2.so.2: cannot open shared object file: No such file or directory
 whereis libxml2
libxml2: /usr/include/libxml2

K0-RR avatar May 14 '25 08:05 K0-RR

Did you try to recompile waybox? libxml2 had a big update and all packages that needs this required a rebuild.

Narrat avatar May 14 '25 16:05 Narrat

Is that from the AppImage? It's badly made, as I really didn't understand how AppImages worked back then. If I ever get around to getting the stuff I want for 0.3.0 done, I'll make a better one that actually sets the LD_LIBRARY_PATH correctly (it's not automatic but has to be done in AppRun, which in the current AppImage is just a symlink instead of a proper script that sets LD_LIBRARY_PATH).

BTW, libxml2 2.14 has libxml2.so.16. I have both 2.14.3 and 2.13.8 installed concurrently (2.14.3 to compile new stuff, 2.13.8 to run the old stuff that requires libxml2.so.2, sparing me from recompiling everything that requires libxml2.so.2).

keithbowes avatar Jun 07 '25 00:06 keithbowes