[MacPorts] #51242: lapack error
#51242: lapack error -------------------------------+-------------------------------- Reporter: barry.j.mcinnes@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Keywords: lapack | Port: lapack -------------------------------+-------------------------------- 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 -- Ticket URL: <https://trac.macports.org/ticket/51242> MacPorts <https://www.macports.org/> Ports system for OS X
#51242: lapack error --------------------------------+----------------------- Reporter: barry.j.mcinnes@… | Owner: takeshi@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: lapack | --------------------------------+----------------------- Changes (by mf2k@…): * owner: macports-tickets@… => takeshi@… * keywords: lapack => Comment: In the future, please use WikiFormatting and Cc the port maintainers ({{{port info --maintainers lapack}}}), if any. -- Ticket URL: <https://trac.macports.org/ticket/51242#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#51242: lapack error --------------------------------+----------------------- Reporter: barry.j.mcinnes@… | Owner: takeshi@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: lapack | --------------------------------+----------------------- Description changed by mf2k@…: Old description:
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
New description: 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 -- -- Ticket URL: <https://trac.macports.org/ticket/51242#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#51242: lapack error --------------------------------+----------------------- Reporter: barry.j.mcinnes@… | Owner: takeshi@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: invalid | Keywords: Port: lapack | --------------------------------+----------------------- Changes (by takeshi@…): * status: new => closed * resolution: => invalid Comment: 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. -- Ticket URL: <https://trac.macports.org/ticket/51242#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts