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

Launching scripts fails - invalid ELF header #29

Closed
spoutn1k opened this issue Aug 10, 2021 · 0 comments
Closed

Launching scripts fails - invalid ELF header #29

spoutn1k opened this issue Aug 10, 2021 · 0 comments

Comments

@spoutn1k
Copy link
Collaborator

spoutn1k commented Aug 10, 2021

In case of incompatibility between glib versions, e4s-cl will try and overload the linker in the container. The resulting script has the following format:

[...]

# Finally run the command, using the imported linker if applicable
%(linker)s %(command)s

In case %(linker)s is empty, nothing is wrong. But in the cases it is not, %(command)s must be a binary, or the following appears (#28):

PID on HOST: COMMAND: error while loading shared libraries: COMMAND: invalid ELF header

Steps taken to endure the correct linker is used also include its addition to LD_PRELOAD.

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