Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error while loading shared libraries: libpng16.so.16 #43

Open
hb9eue opened this issue Apr 3, 2024 · 1 comment
Open

error while loading shared libraries: libpng16.so.16 #43

hb9eue opened this issue Apr 3, 2024 · 1 comment

Comments

@hb9eue
Copy link

hb9eue commented Apr 3, 2024

Hi

Not sure if I found the correct repository.

I was notified, that I required to update to version >= 0.3 to keep my receiver working because of a protocol change in OGN Network.
So I did upgrade from 2.9 to 3.2

Running Linux pi3 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr 3 17:24:16 BST 2023 aarch64 GNU/Linux

Libpng16 is present:

/usr/lib/aarch64-linux-gnu/libpng16.so
/usr/lib/aarch64-linux-gnu/libpng16.a
/usr/lib/aarch64-linux-gnu/libpng16.so.16.37.0
/usr/lib/aarch64-linux-gnu/libpng16.so.16

But still, both binaries fail to start:

/root/rtlsdr-ogn/ogn-rf Neuenhof.conf

/root/rtlsdr-ogn/ogn-rf: error while loading shared libraries: libpng16.so.16: cannot open shared object file: No such file or directory

/root/rtlsdr-ogn/ogn-decode Neuenhof.conf

/root/rtlsdr-ogn/ogn-decode: error while loading shared libraries: libpng16.so.16: cannot open shared object file: No such file or directory

Any help appriciated.

-Benoit-

@hb9eue
Copy link
Author

hb9eue commented Apr 3, 2024

Ok I guess I solved it...

/root/rtlsdr-ogn/ogn-decode: ELF 32-bit LSB executable, ARM

The binary is compiled for 32-bit armhf, not for aarch64 which is used on raspbery-pi 3 and newer.

So the library has to bee installed for armhf:

apt install libpng16-16:armhf

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant