Page 1 of 1
error while loading shared libraries running 32 bit app in xenialpup64
Posted: Sun Nov 22, 2020 9:09 pm
by Dingo
Woof Woof!
After downloaded and loaded 32 bit compatibility sfs, I'm testing several 32 bit app I want still use.
One of this is the good old sodipodi
at first launch it complaints about lacking of libpng.so.3
so I went in /lib/i386-linux-gnu/ and made a simlink of libpng12.so.0.54.0 to libpng.so.3 but error still continue to be shown
Code: Select all
sodipodi: error while loading shared libraries: libpng.so.3: wrong ELF class: ELFCLASS6
I tried to preloading lib but same error
Code: Select all
LD_PRELOAD=/lib/i386-linux-gnu/libpng.so.3 sodipodi
sodipodi: error while loading shared libraries: libpng.so.3: wrong ELF class: ELFCLASS64
What do I'm doing wrong? It may be an issue regarding library priority? Should I try to add 32 libs path in front of 64 bit libs path?
Re: error while loading shared libraries running 32 bit app in xenialpup64
Posted: Mon Nov 23, 2020 3:51 am
by bigpup
After downloaded and loaded 32 bit compatibility sfs, I'm testing several 32
I assume you loaded it by using SFS-Load-On-The-Fly program.
In Xenialpup64 7.5
To complete the loading of the 32bit compatibility sfs
In a terminal enter:
A reboot will do this ldconfig too.
Re: error while loading shared libraries running 32 bit app in xenialpup64
Posted: Mon Nov 23, 2020 4:01 am
by Dingo
As I said in this post:
viewtopic.php?p=10076#p10076
I used sfs load on fly and Rebooted but I also needed to run manually ldconfig and this was the output:
Code: Select all
ldconfig
ldconfig: libraries libpng.so and libpng.so.0 in directory /usr/lib/i386-linux-gnu have same soname but different type.
ldconfig: libraries libpng.so.0 and libpng.so.2 in directory /usr/lib/i386-linux-gnu have same soname but different type.
ldconfig: libraries libpng.so.2 and libpng.so.2.1.0.8 in directory /usr/lib/i386-linux-gnu have same soname but different type.
ldconfig: libraries libpng.so.2.1.0.8 and libpng.so.3 in directory /usr/lib/i386-linux-gnu have same soname but different type.
ldconfig: libraries libpng.so.3 and libpng.so.3.22.0 in directory /usr/lib/i386-linux-gnu have same soname but different type.
ldconfig: libraries libpng.so.3.22.0 and libpng12.so.0.22.0 in directory /usr/lib/i386-linux-gnu have same soname but different type.
Re: error while loading shared libraries running 32 bit app in xenialpup64
Posted: Tue Dec 01, 2020 7:53 am
by EgiX
Dingo wrote: ↑Sun Nov 22, 2020 9:09 pm
After downloaded and loaded 32 bit compatibility sfs, I'm testing several 32 bit app I want still use.
One of this is the good old sodipodi
at first launch it complaints about lacking of libpng.so.3
so I went in /lib/i386-linux-gnu/ and made a simlink of libpng12.so.0.54.0 to libpng.so.3 but error still continue to be shown
hi, try this:
- remove your simlink libpng.so.3
- run ldconfig
- reboot xenialpup64
- run sodipodi
bye
Re: error while loading shared libraries running 32 bit app in xenialpup64
Posted: Tue Dec 01, 2020 8:00 am
by bigpup
After downloaded and loaded 32 bit compatibility sfs
What is the exact name of the 32bit compatibility sfs?
Sorry, I have to ask.
You would be surprised how many people get the wrong one.
Re: error while loading shared libraries running 32 bit app in xenialpup64
Posted: Tue Dec 01, 2020 3:31 pm
by Dingo
bigpup wrote: ↑Tue Dec 01, 2020 8:00 am
After downloaded and loaded 32 bit compatibility sfs
What is the exact name of the 32bit compatibility sfs?
Sorry, I have to ask.
You would be surprised how many people get the wrong one.
I downloaded sfs from this url:
http://distro.ibiblio.org/puppylinux/pe ... nial64.sfs
Some apps work, one of these is a very old foxit pdf reader 32 bit version