Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Dec 2010 20:10:59 GMT
From:      Hartmann@FreeBSD.org, "O." <ohartman@zedat.fu-berlin.de>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/152790: math/suitesparse: /usr/local/lib/liblapack.so: undefined reference to `spotrs_'
Message-ID:  <201012022010.oB2KAxGo009738@red.freebsd.org>
Resent-Message-ID: <201012022020.oB2KKAPp035669@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         152790
>Category:       ports
>Synopsis:       math/suitesparse: /usr/local/lib/liblapack.so: undefined reference to `spotrs_'
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Dec 02 20:20:10 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Hartmann, O.
>Release:        FreeBSD 9.0-CURRENT/amd64 r216086
>Organization:
FU Berlin
>Environment:
>Description:
While trying to install math/freemat compiling the port run into this error during a fresh installation in math/suitesparse:



gmake[4]: Entering directory `/usr/ports/math/suitesparse/work/SuiteSparse/CCOLAMD/Lib'
gmake[4]: Nothing to be done for `default'.
gmake[4]: Leaving directory `/usr/ports/math/suitesparse/work/SuiteSparse/CCOLAMD/Lib'
gmake[3]: Leaving directory `/usr/ports/math/suitesparse/work/SuiteSparse/CCOLAMD'
gcc45 -O2 -pipe -march=native -Wl,-rpath=/usr/local/lib/gcc45 -fno-strict-aliasing -DNPARTITION -o cholmod_demo -I../Include -I../../UFconfig cholmod_demo.c ../Lib/libcholmod.a ../../AMD/Lib/libamd.a ../../COLAMD/Lib/libcolamd.a ../../CCOLAMD/Lib/libccolamd.a ../../CAMD/Lib/libcamd.a  -L/usr/local/lib -llapack -L/usr/local/lib -lblas -lgfortran -lgfortranbegin  -lm
/usr/local/lib/liblapack.so: undefined reference to `spotrs_'
/usr/local/lib/liblapack.so: undefined reference to `sgetrs_'
/usr/local/lib/liblapack.so: undefined reference to `sgetrf_'
collect2: ld returned 1 exit status
gmake[2]: *** [cholmod_demo] Error 1
gmake[2]: Leaving directory `/usr/ports/math/suitesparse/work/SuiteSparse/CHOLMOD/Demo'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/usr/ports/math/suitesparse/work/SuiteSparse/CHOLMOD'
gmake: *** [default] Error 2
*** Error code 2

Stop in /usr/ports/math/suitesparse.

>How-To-Repeat:
Try installing math/freemat or math/suitesparse (which is a prerequisite of math/freemat).
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201012022010.oB2KAxGo009738>