Skip to content

Fix LD_LIBRARY_PATH for execution environments #69

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

Merged
merged 3 commits into from
Aug 2, 2021
Merged

Conversation

Tabrizian
Copy link
Member

@Tabrizian Tabrizian commented Jul 30, 2021

src/pb_stub.cc Outdated

// If model is using an execution environment, we need to fix the
// LD_LIBRARY_PATH so that it doesn't interfere with the way binaries used
// to work.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Say something here about how we need to remove the first path from LD_LIBRARY_PATH because that was added when launching the stub and give file and function where it was added.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed.

@Tabrizian Tabrizian merged commit 82d4db8 into main Aug 2, 2021
@Tabrizian Tabrizian deleted the imant-fix-ld branch August 2, 2021 15:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Python custom backend failed to start with error "no version information available (required by /bin/bash)"
2 participants