Opened 13 years ago

Last modified 13 years ago

#30097 closed defect

qt4-mac file was built for unsupported file format which is not the architecture being linked (i386) — at Version 1

Reported by: Behinder (behinder) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc:
Port:

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Using recent qt4-mac 4.7.3 it compiles ok however during compilation of saxsview program there are problems with some included inqt4 libraries: and I got result:

ld: warning: ignoring file /opt/local/lib/libQtSvg.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: ignoring file /opt/local/lib/libQtGui.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: ignoring file /opt/local/lib/libQtXml.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: ignoring file /opt/local/lib/libQtCore.dylib, file was built for unsupported file format which is not the architecture being linked (i386)

Attached logfile from compilation

Change History (2)

Changed 13 years ago by Behinder (behinder)

Attachment: make.log added

saxsview compilation log

comment:1 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Keywords: qt4 removed
Port: qt4-mac removed
Priority: HighNormal

What is "saxsview"? I don't see a port for that in MacPorts. Are you trying to compile it manually? If so, it sounds like you're trying to compile it universally, but your qt4-mac is not installed universally. To fix that, reinstall the qt4-mac port with the +universal variant. Alternately, don't build saxsview universally.

Note: See TracTickets for help on using tickets.