GCC fails when installing in home directory on OSX
Issue #20
new
I was trying to install BiB in my home directory on Mac OSX by supplying a prefix to the install.sh script. It appears that when installed this way the GCC in devkit is still looking for the library in /opt/bib. This causes every package to fail installing. This following is the output when trying to compile a test program with the GCC in devkit:
$ $HOME/opt/bib/devkit/gcc44/bin/gcc test.c
dyld: Library not loaded: /opt/bib/devkit/gcc44/lib/libcloog.0.dylib
Referenced from: $HOME/opt/bib/devkit/gcc44/bin/../libexec/gcc/x86_64-apple-darwin14.0.0/4.4.7/cc1
Reason: image not found
gcc: Internal error: Trace/BPT trap: 5 (program cc1)
Please submit a full bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.
Comments (2)
-
repo owner -
Would changing the DYLD_LIBRARY_PATH to $HOME/opt/bib (or whereever it is installed) work?
- Log in to comment
Hi Chao, yes I've known that installs on OS X outside of /opt/bib have this problem, but I wasn't able to figure out how to remove the hard-coded (rlink'd) library paths from gcc when building it. If you have any ideas how to troubleshoot please let me know - otherwise, I unfortunately don't have the resources to tackle this one (and am barely keeping up with new OS X releases as it is!). Best, Mark