error while loading shared libraries running 32 bit app in xenialpup64

Moderator: Forum moderators

Post Reply
User avatar
Dingo
Posts: 244
Joined: Sat Aug 01, 2020 3:03 pm
Has thanked: 10 times
Been thanked: 17 times

error while loading shared libraries running 32 bit app in xenialpup64

Post 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?

User avatar
bigpup
Moderator
Posts: 6540
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 796 times
Been thanked: 1361 times

Re: error while loading shared libraries running 32 bit app in xenialpup64

Post 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:

Code: Select all

ldconfig

A reboot will do this ldconfig too.

Forum Global Moderator
The things you do not tell us, are usually the clue to fixing the problem.
When I was a kid, I wanted to be older.
This is not what I expected :o

User avatar
Dingo
Posts: 244
Joined: Sat Aug 01, 2020 3:03 pm
Has thanked: 10 times
Been thanked: 17 times

Re: error while loading shared libraries running 32 bit app in xenialpup64

Post 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.
EgiX
Posts: 3
Joined: Sat Sep 26, 2020 12:45 am
Has thanked: 1 time

Re: error while loading shared libraries running 32 bit app in xenialpup64

Post 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

User avatar
bigpup
Moderator
Posts: 6540
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 796 times
Been thanked: 1361 times

Re: error while loading shared libraries running 32 bit app in xenialpup64

Post 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.

Forum Global Moderator
The things you do not tell us, are usually the clue to fixing the problem.
When I was a kid, I wanted to be older.
This is not what I expected :o

User avatar
Dingo
Posts: 244
Joined: Sat Aug 01, 2020 3:03 pm
Has thanked: 10 times
Been thanked: 17 times

Re: error while loading shared libraries running 32 bit app in xenialpup64

Post 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

Post Reply

Return to “Xenial”