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

Executing ldconfig fails #16

Open
ibot3 opened this issue Jan 16, 2020 · 2 comments
Open

Executing ldconfig fails #16

ibot3 opened this issue Jan 16, 2020 · 2 comments

Comments

@ibot3
Copy link

ibot3 commented Jan 16, 2020

When building, the step {stage}/sbin/ldconfig -r {stage} fails with the error message cannot execute binary file: Exec format error.
Maybe this occurs because the binaries in /raspbian/stage/sbin are for ARM and cannot be run on an other architecture.

I am using the Docker container for building. But the same error also occurs when executing the binary on my host system.

@ali1234
Copy link
Owner

ali1234 commented Jan 19, 2020

Seems like you did not configure binfmt_misc ARM support.

@ibot3
Copy link
Author

ibot3 commented Jan 19, 2020

Using {chroot} {stage} /sbin/ldconfig -r / instead is working for me.

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

2 participants