#42100: arpack 3.1.3_0+accelerate+gcc48+universal: i386 configure cannot find BLAS -------------------------+--------------------- Reporter: nowornot@… | Owner: mmoll@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: arpack | -------------------------+--------------------- Comment (by vince@…): The culprit is here: {{{ configure:15014: /opt/local/bin/gcc-mp-4.8 -o conftest -pipe -Os -m32 -I/opt/local/include conftest.c cfortran_test.o -L/opt/local/lib -L/opt/local/lib/gcc48/gcc/x86_64-apple-darwin12/4.8.2 -L/opt/local/lib/gcc48/gcc/x86_64-apple-darwin12/4.8.2/../../.. -lgfortran -lquadmath -lm >&5 ld: warning: ignoring file cfortran_test.o, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 1 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): cfortran_test.o ld: warning: ignoring file /opt/local/lib/gcc48/gcc/x86_64-apple- darwin12/4.8.2/libgcc.a, file was built for archive which is not the architecture being linked (i386): /opt/local/lib/gcc48/gcc/x86_64-apple- darwin12/4.8.2/libgcc.a Undefined symbols for architecture i386: "_foobar", referenced from: _main in cc7dY1NU.o ld: symbol(s) not found for architecture i386 collect2: error: ld returned 1 exit status configure:15014: $? = 1 }}} The 32-bit compiler tries to use the 64-bit library, causing the failure. But why it does, I have no clue (as yet). -- Ticket URL: <https://trac.macports.org/ticket/42100#comment:16> MacPorts <http://www.macports.org/> Ports system for OS X