unzip: problems with architectures and ld

Davide Liessi davide.liessi at gmail.com
Tue Nov 4 13:55:14 PST 2014


Hi all.
I have a custom MacPorts installation in /opt/macports-i386.
Apart from the location, the only non-default option in macports.conf
is 'build_arch i386'.
Trying to install unzip I get a bunch of warnings like

ld: warning: in unzip.o, file was built for i386 which is not the
architecture being linked (x86_64)

and the following error

Undefined symbols:
  "_main", referenced from:
      start in crt1.10.6.o
ld: symbol(s) not found

This happens both with and without trace mode.
Please find attached the main.log of `sudo /opt/macports-i386/bin/port
-t install unzip`.

How can this be solved?

Best wishes.
Davide
-------------- next part --------------
A non-text attachment was scrubbed...
Name: main.log
Type: application/octet-stream
Size: 25285 bytes
Desc: not available
URL: <https://lists.macosforge.org/pipermail/macports-users/attachments/20141104/f9358b87/attachment.obj>


More information about the macports-users mailing list