Compiling issue in release-8: missing LDFLAGS
There seem to be some missing default flags with the addition of libtool. This problem happened to a collaborator who did not have general LDFLAGS set up. In my case, there are provided through my conda environment and are the following:
-Wl,-pie -Wl,-headerpad_max_install_names -Wl,-dead_strip_dylibs -Wl,-rpath,/path/to/miniconda3/lib -L/path/to/miniconda3/lib
With there are no issues, but without them, my collaborator ran into compiling problems on Linux. I will try to update the issue with the error that he got. If I removed them, I could compile the code fine on my MacBook with clang version 11.1.0 but if I run the binaries, there is the following error:
dyld: Library not loaded: @rpath/libgsl.25.dylib Referenced from: /path/to/the/binary Reason: image not found Abort trap: 6