Opened 10 years ago

Closed 10 years ago

#44441 closed defect (worksforme)

qrupdate @1.1.2_2: build fails finding libtatlas

Reported by: mndavidoff (Monte Davidoff) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.1
Keywords: Cc: gnw3
Port: qrupdate

Description

After upgrading atlas, installing qrupdate fails because libtatlas cannot be found.

$ port installed atlas
The following ports are currently installed:
  atlas @3.10.2_0+gcc48 (active)
$ sudo port -vs install qrupdate
...
libtool -o ../libqrupdate.a caxcpy.o cch1dn.o cch1up.o cchdex.o cchinx.o cchshx.o cgqvec.o cqhqr.o cqr1up.o cqrdec.o cqrder.o cqrinc.o cqrinr.o cqrot.o cqrqh.o cqrshc.o cqrtv1.o dch1dn.o dch1up.o dchdex.o dchinx.o dchshx.o dgqvec.o dqhqr.o dqr1up.o dqrdec.o dqrder.o dqrinc.o dqrinr.o dqrot.o dqrqh.o dqrshc.o dqrtv1.o sch1dn.o sch1up.o schdex.o schinx.o schshx.o sgqvec.o sqhqr.o sqr1up.o sqrdec.o sqrder.o sqrinc.o sqrinr.o sqrot.o sqrqh.o sqrshc.o sqrtv1.o zaxcpy.o zch1dn.o zch1up.o zchdex.o zchinx.o zchshx.o zgqvec.o zqhqr.o zqr1up.o zqrdec.o zqrder.o zqrinc.o zqrinr.o zqrot.o zqrqh.o zqrshc.o zqrtv1.o clu1up.o dlu1up.o slu1up.o zlu1up.o clup1up.o dlup1up.o slup1up.o zlup1up.o
make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_qrupdate/qrupdate/work/qrupdate-1.1.2/src'
gfortran-mp-4.8 -m64 -fimplicit-none -O3 -funroll-loops   -dynamiclib -o ../libqrupdate.dylib -install_name /opt/local/lib/libqrupdate.1.dylib caxcpy.o cch1dn.o cch1up.o cchdex.o cchinx.o cchshx.o cgqvec.o cqhqr.o cqr1up.o cqrdec.o cqrder.o cqrinc.o cqrinr.o cqrot.o cqrqh.o cqrshc.o cqrtv1.o dch1dn.o dch1up.o dchdex.o dchinx.o dchshx.o dgqvec.o dqhqr.o dqr1up.o dqrdec.o dqrder.o dqrinc.o dqrinr.o dqrot.o dqrqh.o dqrshc.o dqrtv1.o sch1dn.o sch1up.o schdex.o schinx.o schshx.o sgqvec.o sqhqr.o sqr1up.o sqrdec.o sqrder.o sqrinc.o sqrinr.o sqrot.o sqrqh.o sqrshc.o sqrtv1.o zaxcpy.o zch1dn.o zch1up.o zchdex.o zchinx.o zchshx.o zgqvec.o zqhqr.o zqr1up.o zqrdec.o zqrder.o zqrinc.o zqrinr.o zqrot.o zqrqh.o zqrshc.o zqrtv1.o clu1up.o dlu1up.o slu1up.o zlu1up.o clup1up.o dlup1up.o slup1up.o zlup1up.o \
		-L/opt/local/lib -ltatlas -L/opt/local/lib -llapack
ld: library not found for -ltatlas
collect2: error: ld returned 1 exit status
make[1]: *** [../libqrupdate.dylib] Error 1
make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_qrupdate/qrupdate/work/qrupdate-1.1.2/src'
...

Attachments (1)

main.log.gz (4.2 KB) - added by mndavidoff (Monte Davidoff) 10 years ago.

Download all attachments as: .zip

Change History (7)

Changed 10 years ago by mndavidoff (Monte Davidoff)

Attachment: main.log.gz added

comment:1 Changed 10 years ago by jqm12@…

Same happens here. Please provide a fix. Thanks.

comment:2 Changed 10 years ago by jqm12@…

Is there any quick workaround for this issue? Thanks

comment:3 Changed 10 years ago by gnw3

Cc: gnwiii@… added

Cc Me!

comment:4 in reply to:  2 Changed 10 years ago by gnw3

Replying to jqm12@…:

Is there any quick workaround for this issue? Thanks

The new atlas @3.10.2_0+gcc48 doesn't build the threaded library (libtatlas.dylib). in {{{$(port file atlas)}} there is a cryptic comment that may be hint:

    # Threading relies on OpenMP if gcc compilers are selected
    # Does not seem to work reliably. Disabled.

The previous version of atlas did provide threaded libraries, but I don't know if they have unreliability that I haven't encountered or if it is the newer version that is not reliable.

$ sudo port activate atlas @3.10.1_5+gcc48
--->  Computing dependencies for atlas
--->  Activating atlas @3.10.1_5+gcc48
--->  Cleaning atlas
$ ls /opt/local/lib/lib*atlas*
19072 /opt/local/lib/libatlas.a		28456 /opt/local/lib/libtatlas.dylib*
28216 /opt/local/lib/libsatlas.dylib*

comment:5 Changed 10 years ago by mndavidoff (Monte Davidoff)

This issue appears to be fixed by atlas @3.10.2_1 (r122764). It's all right with me to close this ticket.

$ port installed atlas qrupdate
The following ports are currently installed:
  atlas @3.10.2_1+gcc48 (active)
  qrupdate @1.1.2_2+atlas+gcc48 (active)

comment:6 Changed 10 years ago by mf2k (Frank Schima)

Resolution: worksforme
Status: newclosed
Note: See TracTickets for help on using tickets.