Conversation
* Fix indentation. * Strip trailing whitespace. * Use ' and " consistently. Cosmetic changes only, no functional changes.
Member
|
For MacOS, we can run install_name_tool as part of the loopback-oracle-build script which creates a tarball including the oracle instant client and our prebuilt binary. |
Member
Author
|
Apropos nothing, I wonder if this is a bug in the oracle libraries... Changing the call in oracle_bindings.cpp to |
Add the directory containing libocci to the dynamic linker search path so strong-oracle users don't have to set LD_LIBRARY_PATH at run-time.
Make it harder for dynamic linker errors to slip through by forcing the tests to run with all dynamic symbols resolved.
Member
Author
That means it needs a relative RPATH? I assume it's the same for Linux? |
Member
|
Yes, we'll have the following module layout: node_modules
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I've only been able to make this work on Linux so far (see below) and I'm not 100% convinced that linking against a specific .so is a good idea so feedback is welcome.
It only seems to work on OS X when I execute
install_name_tool -id @rpath/libocci.dylib /path/to/libocci.dylibfirst, else-Wl,-rpath,<path>has no effect.../cc @raymondfeng