[MacPorts] #36438: ports which mirror system libraries can cause +universal ports to fail if they are -universal

MacPorts noreply at macports.org
Sun Jan 13 16:56:34 PST 2013


#36438: ports which mirror system libraries can cause +universal ports to fail if
they are -universal
----------------------------+------------------------
  Reporter:  ahelfer1971@…  |      Owner:  jeremyhu@…
      Type:  defect         |     Status:  assigned
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:  2.1.2
Resolution:                 |   Keywords:
      Port:  ld64           |
----------------------------+------------------------

Comment (by larryv@…):

 I am seeing this while trying to configure zsh for i386. It still builds
 and installs, but none of zsh’s dynamic modules get installed because
 `./configure` gets tripped up:

 {{{
 configure:11851: checking if environ is available in shared libraries
 configure:11873: /usr/bin/clang -c -pipe -O2 -arch i386
 -I/opt/local/include -fno-common conftest1.c 1>&5
 configure:11876: $? = 0
 configure:11879: /usr/bin/clang -o conftest1.so -L/opt/local/lib -Wl,-v
 -arch i386 -bundle -flat_namespace -undefined suppress conftest1.o -lgdbm
 -liconv -ldl -lm -lncurses -lc 1>&5
 @(#)PROGRAM:ld  PROJECT:ld64-134.9
 configured to support archs: armv6 armv7 armv7s i386 x86_64
 Library search paths:
         /opt/local/lib
         /opt/local/lib
         /usr/lib
         /usr/local/lib
 Framework search paths:
         /Library/Frameworks/
         /System/Library/Frameworks/
 ld: in /opt/local/lib/libstdc++.6.dylib, 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 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386):
 /opt/local/lib/libstdc++.6.dylib for architecture i386
 clang: error: linker command failed with exit code 1 (use -v to see
 invocation)
 configure:11882: $? = 1
 configure:11970: result: no
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/36438#comment:17>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list