• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: [boost] linking on OSX
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [boost] linking on OSX


  • Subject: Re: [boost] linking on OSX
  • From: Chris Suter <email@hidden>
  • Date: Wed, 21 Oct 2009 13:23:10 +1100

Hi David,

On Wed, Oct 21, 2009 at 1:03 PM, David M. Cotter <email@hidden> wrote:
okay.  everything is working fantastically, however, it won't run on G3 machine running 10.4.11
it works perfectly on a G4 PPC machine also running 10.4.11

is there some way to "tune" bjam to emit G3-compatible code?  
cuz i'm getting this:

Host Name:      TAZ-2
Date/Time:      2009-10-20 05:56:18.099 -0700
OS Version:     10.4.11 (Build 8S165)
Report Version: 4

Command: FooBar Pro
Path:    /Applications/FooBar Pro.app/Contents/MacOS/FooBar Pro
Parent:  WindowServer [310]

Version: FooBar Pro 1.0d50r33 (1.0)

PID:    445
Thread: Unknown

Link (dyld) error:

Library not loaded: @loader_path/../SharedSupport/libboost_thread.dylib
  Referenced from: /Applications/FooBar Pro.app/Contents/MacOS/FooBar Pro
  Reason: no suitable image found.  Did find:
/Applications/FooBar Pro.app/Contents/MacOS/../SharedSupport/libboost_thread.dylib: no matching architecture in universal wrapper
/Applications/FooBar Pro.app/Contents/MacOS/../SharedSupport/libboost_thread.dylib: no matching architecture in universal wrapper

This is most likely because you're only building for G4 machines and greater. If you run otool -f -v <binary>, you'll probably see cpusubtype set to CPU_SUBTYPE_POWERPC_7400 (which basically means G4 or greater).

To fix, as a minimum, you need to make sure that your deployment target is set to 10.4 or less and make sure your architecture setting is ppc rather than ppc7400.

Kind regards,

Chris

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: [boost] linking on OSX
      • From: Chris Suter <email@hidden>
References: 
 >Re: linking on OSX (From: "David M. Cotter" <email@hidden>)
 >Re: linking on OSX (From: Peter O'Gorman <email@hidden>)
 >Re: [boost] linking on OSX (From: "David M. Cotter" <email@hidden>)

  • Prev by Date: C++ : "is not derived from type"..
  • Next by Date: build log
  • Previous by thread: Re: [boost] linking on OSX
  • Next by thread: Re: [boost] linking on OSX
  • Index(es):
    • Date
    • Thread