math/suitesparse is broken

Rainer Hurling rhurlin at gwdg.de
Tue May 1 06:39:51 UTC 2018


Am 01.05.2018 um 05:40 schrieb Steve Kargl:
> Can someone fix math/suitesparse?
> 
> % make config
>   <Select Netlib BLAS>
> 
> % make 
> ...
> 
> h/suitesparse/work/SuiteSparse/lib/libcholmod.so.3.0.12 -lm -lamd -lcolamd -lsuitesparseconfig -lccolamd -lcamd -L/usr/local/lib -lmetis  -Wl,-rpath=/usr/local/lib/gcc7  -L/usr/local/lib/gcc7 -B/usr/local/bin -L/usr/local/lib -fstack-protector -Wl,-rpath=/usr/local/lib/gcc7 -L/usr/local/lib/gcc7 -llapack -lopenblas
> /usr/local/bin/ld: cannot find -lopenblas
> collect2: error: ld returned 1 exit status
> gmake[5]: *** [Makefile:544: /usr/ports/math/suitesparse/work/SuiteSparse/lib/libcholmod.so.3.0.12] Error 1
> gmake[5]: Leaving directory '/usr/ports/math/suitesparse/work/SuiteSparse/CHOLMOD/Lib'
> gmake[4]: *** [Makefile:31: library] Error 2
> gmake[4]: Leaving directory '/usr/ports/math/suitesparse/work/SuiteSparse/CHOLMOD/Lib'
> gmake[3]: *** [Makefile:14: all] Error 2
> gmake[3]: Leaving directory '/usr/ports/math/suitesparse/work/SuiteSparse/CHOLMOD'
> gmake[2]: *** [Makefile:21: go] Error 2
> gmake[2]: Leaving directory '/usr/ports/math/suitesparse/work/SuiteSparse'
> *** Error code 2
> 
> openblas is not Netlib BLAS.
> 
> 


Hi Steve,

For this error it should be sufficient to deinstall the old port.
before you build and install the new one. In some cases, there are
further breaks [1].

HTH,
Rainer


[1] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227791


More information about the freebsd-ports mailing list