• 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
libPng.dylib: "file is not of required architecture"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

libPng.dylib: "file is not of required architecture"


  • Subject: libPng.dylib: "file is not of required architecture"
  • From: Jacob Bandes-Storch <email@hidden>
  • Date: Thu, 7 Feb 2008 17:53:09 -0800

I've been working on a project on both my old PPC G4 and my Intel Core Duo macs. After working on the PPC, when I bring it over to the Intel computer, sometimes I get this build error:

ld: in /Developer/SDKs/MacOSX10.4u.sdk/usr/local/lib/libPng.dylib, file is not of required architecture
collect2: ld returned 1 exit status


What causes this? It's using the 10.4 SDK... I'm trying to make the program compatible at least back to 10.4. Sometimes this works, sometimes it doesn't... What causes this problem that must have changed? (I also get something about build.hmap being/not being a directory — that's fixed by cleaning the build.)
 _______________________________________________
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: libPng.dylib: "file is not of required architecture"
      • From: Chris Espinosa <email@hidden>
    • Re: libPng.dylib: "file is not of required architecture"
      • From: Nick Zitzmann <email@hidden>
    • Re: libPng.dylib: "file is not of required architecture"
      • From: Kurt Bigler <email@hidden>
  • Prev by Date: [Fwd: Re: setting unix environment variables for debugging]
  • Next by Date: Re: libPng.dylib: "file is not of required architecture"
  • Previous by thread: [Fwd: Re: setting unix environment variables for debugging]
  • Next by thread: Re: libPng.dylib: "file is not of required architecture"
  • Index(es):
    • Date
    • Thread