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: libpthread.so.0: ELF load command address/offset not page #34

Closed
totalhavoc opened this issue Nov 21, 2023 · 9 comments

Comments

@totalhavoc
Copy link

New install on raspberry pi 5 (arm64) on Bookworm 64bit, receiving the following error when trying to created a site id or just running the container:

error while loading shared libraries: libpthread.so.0: ELF load command address/offset not page

@fredclausen
Copy link
Member

Thanks for the report. Let me look in to this, as I suspect the issue is related to the most recent image updates we've done the fix may take me a minute to track down.

@totalhavoc
Copy link
Author

So, it seems to be an issue with the new raspberry pi 5 kernel and its use of 16k pages instead of 4k. I changed the kernel from kernel_2712.img to kernel8.img and it is working now. From what I understand the only way to fix this with the new kernel is for the pfclient to be updated by planefinder to support it.

Changes to /boot/firmware/config.txt:

[pi5]
kernel=kernel8.img

@fredclausen
Copy link
Member

That is really interesting. I was struggling to figure out how to replicate the issue, as I wasn't seeing it on any of my machines.

@fredclausen
Copy link
Member

I added a note to the readme about this in #36 until PF updates their client.

@fredclausen
Copy link
Member

Also I suppose it's important to know, what exact OS are you running? I'm assuming the latest raspbian?

@totalhavoc
Copy link
Author

Raspbian Bookworm 64bit

@eiddor
Copy link

eiddor commented Mar 28, 2024

@totalhavoc Are you still having the issue? I just ran into it today and I'm wondering the impact of changing kernels and if you've had any issues with that workaround.

@wiedehopf
Copy link
Contributor

wiedehopf commented Mar 31, 2024

Someone on discord reported getting rid of this issue by using this image version:

ghcr.io/sdr-enthusiasts/docker-planefinder:5.0.161_arm64

https://github.com/sdr-enthusiasts/docker-planefinder/pkgs/container/docker-planefinder/109786253?tag=5.0.161

That's 9 months old, right before the container baseimage was changed to bookworm?

@eiddor
Copy link

eiddor commented Apr 1, 2024

That worked! I'll put a note in the guide along with my other changes. Thanks!

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

5 participants