Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@am11
Copy link
Contributor

@am11 am11 commented Jan 16, 2023

Currently we support reading LD_LIBRARY_PATH from host and from ELF section. This PR adds third option to read from config to improve the command-line experience.

# before
$ LD_LIBRARY_PATH=/tmp/linux/lib:/tmp/linux/usr/lib:/tmp/linux/lib/x86_64-linux-gnu:/tmp/linux/usr/lib/x86_64-linux-gnu \
    ops run -c config.json publish/myApp
# after: config.json has the Env section:
#    "Env": {
#      "LD_LIBRARY_PATH": "/tmp/linux/lib:/tmp/linux/usr/lib:/tmp/linux/lib/x86_64-linux-gnu:/tmp/linux/usr/lib/x86_64-linux-gnu"
#    }

$ ops run -c config.json publish/myApp

@eyberg eyberg merged commit a535c78 into nanovms:master Jan 17, 2023
@am11 am11 deleted the feature/ldd-config-resolution branch January 17, 2023 15:29
@am11
Copy link
Contributor Author

am11 commented Jan 17, 2023

@eyberg, would it be possible we get a new release at this point?

@eyberg
Copy link
Contributor

eyberg commented Jan 17, 2023

yeh it's been a while - went ahead and cut a new version

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

Successfully merging this pull request may close these issues.

2 participants