Opened 9 years ago
Closed 9 years ago
#51242 closed defect (invalid)
lapack error
Reported by: | basmac | Owned by: | tenomoto (Takeshi Enomoto) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.4 |
Keywords: | Cc: | ||
Port: | lapack |
Description (last modified by mf2k (Frank Schima))
A clean install of lapack library gives the following error The first issue is that it does not like the liblapack version installed on Mac89.
Undefined symbols for architecture x86_64: "_ATL_dger", referenced from: _ATL_dgetf2 in liblapack.a(ATL_dgetf2.o) "_ATL_xerbla", referenced from: _atl_f77wrap_dgetrf_ in liblapack.a(ATL_f77wrap_dgetrf.o) _atl_f77wrap_dgetri_ in liblapack.a(ATL_f77wrap_dgetri.o) ld: symbol(s) not found for architecture x86_64 collect2: error: ld returned 1 exit status make: *** [bin/pamtra] Error 1
The same makefile except specifying the Mac library in /usr/lib works fine, as does using the liblapack_ncl.a. Mac 10.11.4 latest install macports versions rw-r--r-- 1 root admin 10092720 Jan 30 03:21 /opt/local/lib/liblapack.a -rw-r--r-- 1 root admin 5588232 Apr 25 13:23 /opt/local/lib/liblapack_ncl.a
Change History (3)
comment:1 Changed 9 years ago by mf2k (Frank Schima)
Keywords: | lapack removed |
---|---|
Owner: | changed from macports-tickets@… to takeshi@… |
comment:2 Changed 9 years ago by mf2k (Frank Schima)
Description: | modified (diff) |
---|
comment:3 Changed 9 years ago by tenomoto (Takeshi Enomoto)
Resolution: | → invalid |
---|---|
Status: | new → closed |
It appears that you are trying to link against LAPACK of ATLAS. The lapack port installs libraries in ${prefix}/lib/lapack where as the atlas port in ${prefix}/lib. Check your the library path of your Makefile. If it is not the problem of the port itself we could discuss the use in macports-users list.
In the future, please use WikiFormatting and Cc the port maintainers (
port info --maintainers lapack
), if any.