[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: macos SIP and make check
From: |
Carlo De Falco |
Subject: |
Re: macos SIP and make check |
Date: |
Mon, 5 Feb 2018 05:23:43 +0000 |
> On 1 Feb 2018, at 18:16, Mike Miller <address@hidden> wrote:
>
> On Thu, Feb 01, 2018 at 13:47:04 +0000, Carlo De Falco wrote:
>> Any idea how to avoid the use of DYLD_LIBRARY_PATH? Any other ideas how
>> to work around this problem?
>
> Does building with LDFLAGS=-R/opt/sundials/2.7.0/lib work? This should
> add the directory to the rpath encoded into every shared library and
> executable in the build.
Hi,
Sorry for the late reply.
I tried adding the suggested option either as
LDFLAGS=-R/opt/sundials/2.7.0/lib
But configure fails with error
configure: error: cannot compile liboctave/util/blaswrap.c
See `config.log' for more details
which seems to be realted to these errors in config.log
configure:32169: /opt/local/bin/gfortran-mp-7 -o conftest -ff2c -g -O2
-L/opt/local/lib -R/opt/sundials/2.7.0/lib conftest.f -L/opt/local/lib
-lopenblas -lm >&5
gfortran-mp-7: error: unrecognized command line option '-R'
...
configure:32409: /usr/bin/clang -c -g -O2 -DUSE_BLASWRAP
-I/opt/local/include conftest.c >&5
conftest.c:53:20: fatal error: 'liboctave/util/blaswrap.c' file not found
I worked around the problem by installing sundials via macports
but would still be interested in finding a solution for linking
self-compiled libraries if you have other suggestions.
Thanks,
c.
Re: macos SIP and make check, Sebastian Schöps, 2018/02/07