[MacPorts] #27359: ld: warning: in /opt/local/lib/libcppunit.dylib, missing required architecture x86_64 in file

MacPorts noreply at macports.org
Wed Nov 17 09:28:53 PST 2010


#27359: ld: warning: in /opt/local/lib/libcppunit.dylib, missing required
architecture x86_64 in file
-------------------------------+--------------------------------------------
  Reporter:  blueduck@…        |       Owner:  mww@…           
      Type:  defect            |      Status:  closed          
  Priority:  Normal            |   Milestone:                  
 Component:  ports             |     Version:  1.9.2           
Resolution:  invalid           |    Keywords:                  
      Port:  cppunit           |  
-------------------------------+--------------------------------------------

Comment(by blueduck@…):

 Now it works for me too.

 I changed some settings in macports.conf

 {{{
 # MACOSX_DEPLOYMENT_TARGET
 universal_target        10.5 -> universal_target        10.6

 # the SDK "sysroot" to use
 universal_sysroot       /Developer/SDKs/MacOSX10.5.sdk ->
 universal_sysroot     /Developer/SDKs/MacOSX10.6.sdk

 # machine architectures
 universal_archs         ppc i386 -> universal_archs             i386
 x86_64
 }}}

 and compile cppunit again.

 Thanks for the hidden hints.
 Stefano

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


More information about the macports-tickets mailing list