-
-
Notifications
You must be signed in to change notification settings - Fork 55
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
Defect: install.sh
should tell users to set DYLD_LIBRARY_PATH
not LD_LIBRARY_PATH
on macOS
#563
Comments
When you get to the point of modifying the setup.sh script, there are two other small issues you might consider addressing:
|
@rouson I think we need to re-confirm and re-verify our use of |
OK, upon further review of the current code, I think that it makes sense to keep this. It is only set for the compiler, not for anything else, and presumably, it was set through experience on Linux. I'm not convinced we need it on macOS, but I don't have the time or energy to investigate, so I'll update the variable based on the OS per Dan's suggestion. |
Defect/Bug Report
See #562 for context. Thanks to @dtabell for bringing this to our attention.
install.sh
uname -a
: all macOS machinesinstall.sh
but CMake version irrelaventObserved Behavior
install.sh
instructs the user to setLD_LIBRARY_PATH
no matter what the OS, but this should beDYLD_LIBRARY_PATH
on macOS. Under some circumstances, particularly for advanced users (who should probably realize this to begin with...) or other users who install all/most pre-requisites withinstall.sh
on macOS it might be possible that runtime errors are encountered if dylibs are linked in that have been installed to non-standard locations.Expected Behavior
Correct instructions/environment settings on macOS
Steps to Reproduce
Install OpenCoarrays with
install.sh
and read the text & file to be sourced at the end.The text was updated successfully, but these errors were encountered: