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

ld.so.preload error workaround #116

Open
gplanansky opened this issue May 4, 2021 · 2 comments
Open

ld.so.preload error workaround #116

gplanansky opened this issue May 4, 2021 · 2 comments

Comments

@gplanansky
Copy link

gplanansky commented May 4, 2021

The lysmarine-0.10.0-raspios-arm64.img.xz , on a pi4b, generates the ERROR: ld.so ... message with every shell command.

user@lysmarine:/etc $ date 
ERROR: ld.so: object ‘/usr/lib/arm-linux-gnueabihf/libarmmem-${PLATFORM}.so’ from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
Tue May  4 08:11:03 EDT 2021

A workaround is to comment out the offending line in that file; or, that being the only one in the
lysmaring-0.10.0 image (after booting, I did not check the original image), just zero out the file.

I gather this image is multi-archtecture and wonder if that's related to the issue.

@FredericGuilbault
Copy link
Contributor

FredericGuilbault commented May 6, 2021

Thx for reporting. It's nice that you have found a workaround. ill look for a permanent fix.


EDIT:
after commenting the line in /etc/ld.so.preload we must run sudo rm /etc/ld.so.cache && sudo ldconfig for changes to apply.

@FredericGuilbault
Copy link
Contributor

FredericGuilbault commented May 29, 2021

The error occurs only if the image is build on CircleCI, I have updated a locally build image on cloudSmith as version 0.10.1

My guess is, the problem come from dockerisation.

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

No branches or pull requests

2 participants