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

Explore rpath for shared object resolution #26

Open
ImVexed opened this issue Oct 10, 2019 · 0 comments
Open

Explore rpath for shared object resolution #26

ImVexed opened this issue Oct 10, 2019 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@ImVexed
Copy link
Owner

ImVexed commented Oct 10, 2019

Currently, Linux users that want to load shared objects from a non system path must use LD_LIBRARY_PATH which is not ideal if the application is being run on a system that doesn't have the environment variable set ahead of time.

This can be resolved by using -rpath -Wl,\$ORIGIN in LDFLAGS however, further consideration needs to be taken to decide if this should be added in the go build command similar to how we handle windows console hiding or if it should be included in the c-for-go generated bindings.

@ImVexed ImVexed added the enhancement New feature or request label Oct 10, 2019
@ImVexed ImVexed self-assigned this Oct 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant