-
Notifications
You must be signed in to change notification settings - Fork 372
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
Set LD_LIBRARY_PATH for installcheck #1545
Conversation
Isn't the described problem already solved by the merge of #1513? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@gtrensch Looks fine, but needs a fix for macOS. Why didn't we need to set this path in the past for installcheck to work?
The Travis build steps are, in general terms:
Thus, if someone locally does a |
@clinssen: I understand that you should source My point is that both |
@jougs @clinssen
I think CMake has to propagate this. LD_LIBRARY_PATH was the natural choice. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@gtrensch I found some problems with garbled text and a missing DY, see below.
Co-Authored-By: Hans Ekkehard Plesser <[email protected]>
@gtrensch: I submitted a comment just as you pushed a fix, so the comment got collapsed. Could you still have a look? Thanks! |
@clinssen |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Excellent, thanks!
Alright. But can someone pretty please explain to me why this setting of Unless someone convinces me how (our setting of |
This is getting confusing! With #1513, exactly the code proposed in this PR for Therefore, in my interpretation,
|
@heplesser: thanks for finally sharing my confusion.
I agree from the bottom of my heart. This is what I actually meant so say from the start of this reviewing odyssey.
As far as I understand it, that sourcing only wants to set On a related note, I'm now also wondering about line 55 of |
That sounds sensible. Just one question: if How about a new PR, replacing this one, which cleans up setting of environmental variables in
@clinssen Could you comment on that (maybe not here ...)? The line looks very Linux-specific and comes right after a block differentiating between Linux and Darwin. |
It seems like |
Now that we have three pull requests addressing the same issues, which is at most confusing, please close this one. |
This PR fixes the following issue:
When building from source 'make installcheck' terminates with following errror:
error while loading shared libraries: libnestutil.so: cannot open shared object file: No such file or directory
related issues: #1520
suggested reviewers: @clinssen @lekshmideepu @jougs