#26337: ruby19-1.9.2-p0 Incorrect architecture build error against libz.1.dylib ------------------------------------+--------------------------------------- Reporter: timpalpant@… | Owner: kimuraw@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: ruby19 ------------------------------------+--------------------------------------- Comment(by timpalpant@…): A few corrections: I called lipo on: 1. /opt/local/lib/libz.dylib -> x86_64 (the MacPorts version) 2. /usr/lib/libz.dylib -> fat with i386, x86_64, and ppc (the Snow Leopard version) 3. /usr/local/lib/libz.dylib -> i386 (?) I'm not sure what the library in /usr/local/lib/ is from, why it is i386 only, and why this error only appeared now. But I fixed my problem by replacing it with the 10.6 version (as described here: [http://www.refresherate.com/2010/01/08/fixing-ld-warning-in- usrlocalliblibz-dylib-file-is-not-of-required-architecture/]. I think that the ruby19 MacPort should still build against /opt/local/lib/libz.dylib, but if not, than this was a problem with my computer only. -- Ticket URL: <http://trac.macports.org/ticket/26337#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS