#30097: qt4-mac file was built for unsupported file format which is not the architecture being linked (i386) -----------------------------------+---------------------------------------- Reporter: seba.szwarc@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: -----------------------------------+---------------------------------------- Changes (by ryandesign@…): * keywords: qt4 => * priority: High => Normal * port: qt4-mac => Old description:
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
New description: 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 -- Comment: 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. -- Ticket URL: <https://trac.macports.org/ticket/30097#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS