Closed burgreen closed 3 years ago
Adding the proper path to LD_LIBRARY_PATH fixes the warning.
Hi,
That was quick, but theoretically your solution does not make sense, since LD_LIBRARY_PATH
variable is not used by macOS dynamic linker. Could you add to the issue the following:
Yes, I agree. I modified all of the DYLD env variables first, and then tried LD_LIBRARY_PATH for the heck of it, which seemed to work (??).
macOS Catalina 10.15.4 OpenFOAM 6.0 release patched with your OpenFOAM-6-47517 patch (which is inconsistent on my part) Apple clang version 11.0.3
I was not able to reproduce the error.
Here is the list of what I have done:
OpenFOAM-6-version-6
into OpenFOAM-6
.OpenFOAM-6-47517.patch
patch.cd
into $HOME/OpenFOAM/OpenFOAM-6
.source /etc/bashrc
.Allwmake
script.After these operations I got working OpenFOAM(R). At least I can execute icoFoam
and blockMesh
without any errors. I have macOS 10.15.5, yet, I do not think this version difference causes the problem.
Could you describe the way you have compiled software?
Hi,
Shall we close the issue or you can still reproduce it?
I compiled the software using a stack of required third party software compiled using Spack. Then, I modified my environment to include the Spack generated links. Then, I ran the wmake script.
My guess is the issue is somehow embedded in my build approach, so the issue is most likely unique to me.
Please close the issue.
First, thanks for this amazing contribution.
I am working from OpenFOAM-v6.0. For every executable, there are warnings that the libs in system/controldict are not neing found or loaded, for example:
However, every executable is running fine.
I have changed many of the suspected environment variables (e.g., DYLD_LIBRARY_PATH, etc), and the warnings persist.
What is going on this this?