• 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: leopard: No universal libjpeg.dylib in 10.4SDK?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: leopard: No universal libjpeg.dylib in 10.4SDK?


  • Subject: Re: leopard: No universal libjpeg.dylib in 10.4SDK?
  • From: Marc Lohse <email@hidden>
  • Date: Mon, 21 Jan 2008 08:07:36 +0100

thanks for your quick answer. i thought i'd have to do
that - i was just surprised that the universal 10.4SDK
supplied with the Xcode tools does contain non-fat libs.
would it be impudent to ask how much sense it makes to
call it _universal_ SDK then?


Bill Bumgarner schrieb:
On Jan 20, 2008, at 9:11 PM, Marc Lohse wrote:
I have recently bought a new iMac with leopard and moved
a small cocoa project that i had started in Xcode 2.4.1 on a
powerbook G4 running tiger to the new machine. Everything
looked fine in Xcode 3 and i could continue working on it.
Since i mainly wrote it for a friend with a powerbook i need
to build it as a universal binary - but my attempts to build
a release build on the iMac gave me this error:

[...]
ld: in /Developer/SDKs/MacOSX10.4u.sdk/usr/local/lib/libJPEG.dylib,
file is not of required architecture
[...]

the libjepeg is not a fat binary  - it does only contain i386 code
(checked it using 'file' and 'lipo -info'). Have i made some kind
of stupid mistake or does the 10.4 SDK on my machine really
lack a 'fat' version of this lib and if so where can i get it?

thanks in advance
marc

p.s.: the project settings say that it's a Xcode 2.4 compatible
project
and Cross-Develop using Target SDK: Mac OS X 10.4 (Universal)
...

[aalbbum:~] bbum% ls -alF /Developer/SDKs/MacOSX10.4u.sdk/usr/local/ total 8 drwxr-xr-x 3 root wheel 102 Oct 14 12:30 ./ drwxr-xr-x 8 root wheel 272 Mar 16 2007 ../ lrwxr-xr-x 1 root wheel 14 Oct 14 12:30 lib@ -> /usr/local/lib

You have a thin version of libJPEG.dylib installed in /usr/local/
lib.   That is your problem.  You likely need to rebuild the jpeg
library for both desired architectures.

(The library in question was not from Apple, btw.   The alternative is
to use the various APIs on the system that deal with JPEGs.)

b.bum

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


--
---------------------------------------------------
Dr. Marc Lohse
Max-Planck-Institute of molecular Plant Physiology
Dept. Bock
Am Muehlenberg 1
14476 Potsdam-Golm

Tel.    : 0331-5678-313
e-mail  : email@hidden
---------------------------------------------------

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: leopard: No universal libjpeg.dylib in 10.4SDK?
      • From: Bill Bumgarner <email@hidden>
References: 
 >leopard: No universal libjpeg.dylib in 10.4SDK? (From: Marc Lohse <email@hidden>)
 >Re: leopard: No universal libjpeg.dylib in 10.4SDK? (From: Bill Bumgarner <email@hidden>)

  • Prev by Date: Re: why are there zero examples in the cocoa docs?!
  • Next by Date: Re: leopard: No universal libjpeg.dylib in 10.4SDK?
  • Previous by thread: Re: leopard: No universal libjpeg.dylib in 10.4SDK?
  • Next by thread: Re: leopard: No universal libjpeg.dylib in 10.4SDK?
  • Index(es):
    • Date
    • Thread