[MacPorts] #39217: py27-numpy @1.7.1_0: import fails due to missing symbol

MacPorts noreply at macports.org
Sat May 25 23:14:05 PDT 2013


#39217: py27-numpy @1.7.1_0: import fails due to missing symbol
--------------------------+--------------------------------
  Reporter:  jdgleeson@…  |      Owner:  macports-tickets@…
      Type:  defect       |     Status:  new
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.1.3
Resolution:               |   Keywords:
      Port:  py27-numpy   |
--------------------------+--------------------------------

Comment (by jdgleeson@…):

 I'm getting closer to figuring this out.
 When python 2.7.5 is active gcc-4.0 is used to created extension libraries
 for numpy.
 When python 2.7.3 is active gcc-mp-4.7 is used to created extension
 libraries for numpy.

 {{{
 $ sudo port activate python27 @2.7.5_0
 $ sudo port clean py27-numpy
 $ sudo port -kd build py27-numpy > termout16.txt 2>&1
 $ grep -m 2 bundle termout16.txt
 /usr/bin/gcc-4.0 -bundle -undefined dynamic_lookup -L/opt47/local/lib
 -L/opt47/local/lib/db46 -m32 -m32 -m32 -m32
 build/temp.macosx-10.5-ppc-2.7/numpy/core/src/dummymodule.o
 -Lbuild/temp.macosx-10.5-ppc-2.7 -o
 build/lib.macosx-10.5-ppc-2.7/numpy/core/_dummy.so
 /usr/bin/gcc-4.0 -bundle -undefined dynamic_lookup -L/opt47/local/lib
 -L/opt47/local/lib/db46 -m32 -m32 -m32 -m32
 build/temp.macosx-10.5-ppc-2.7/numpy/core/src/multiarray/multiarraymodule_onefile.o
 -Lbuild/temp.macosx-10.5-ppc-2.7 -lnpymath -lnpysort -o
 build/lib.macosx-10.5-ppc-2.7/numpy/core/multiarray.so

 $ sudo port activate python27 @2.7.3_1
 $ sudo port clean py27-numpy
 $ sudo port -kd build py27-numpy > termout17.txt 2>&1
 $ grep -m 2 bundle termout17.txt
 /opt47/local/bin/gcc-mp-4.7 -bundle -undefined dynamic_lookup
 -L/opt47/local/lib -m32 -m32 -m32
 build/temp.macosx-10.5-ppc-2.7/numpy/core/src/dummymodule.o
 -Lbuild/temp.macosx-10.5-ppc-2.7 -o
 build/lib.macosx-10.5-ppc-2.7/numpy/core/_dummy.so
 /opt47/local/bin/gcc-mp-4.7 -bundle -undefined dynamic_lookup
 -L/opt47/local/lib -m32 -m32 -m32
 build/temp.macosx-10.5-ppc-2.7/numpy/core/src/multiarray/multiarraymodule_onefile.o
 -Lbuild/temp.macosx-10.5-ppc-2.7 -lnpymath -lnpysort -o
 build/lib.macosx-10.5-ppc-2.7/numpy/core/multiarray.so
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/39217#comment:3>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list