[MacPorts] #37340: py32-numpy (but other version also?) does not link against libgomp when needed
MacPorts
noreply at macports.org
Tue Dec 18 09:51:33 PST 2012
#37340: py32-numpy (but other version also?) does not link against libgomp when
needed
---------------------+--------------------------------
Reporter: vince@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.1.2
Keywords: | Port:
---------------------+--------------------------------
It seems when using an OpenMP enabled compiler, macports-gcc-4.7 for
instance, the lapack_lite.so module of numpy (name given from memory) does
not link against libgomp, thereby creating an unknown symbol error at
runtime. I saw this on an old G4 box (MacOS 10.4), it would have to be
confirmed for other combinations of MacOS / Python.
Fix is to add ${prefix}/lib/gccXX/libgomp.dylib in the extra_link_args
line of patchfile ‘patch-numpy_linalg_setup.py.diff’
--
Ticket URL: <https://trac.macports.org/ticket/37340>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list