• 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: libjpeg.a is out of date; rerun ranlib
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: libjpeg.a is out of date; rerun ranlib


  • Subject: Re: libjpeg.a is out of date; rerun ranlib
  • From: Jeremy Dronfield <email@hidden>
  • Date: Sun, 31 Oct 2004 16:23:34 +0000

This can occur if you copy a library. This is from the relevant manpage:

"With the way libraries used to be created, errors were possible if the library was modified with ar(1) and the table of contents was not updated by rerunning ranlib(1). Thus the link editor, ld, warns when the modification date of a library is more recent than the creation date of its table of contents. Unfortunately, this means that you get the warning even if you only copy the library."

To fix it, do the following in Terminal:

ranlib /Users/celestin/testproject/libjpeg.a

Regards,
Jeremy


On 31 Oct 2004, at 2:20 pm, Stephane Pinel wrote:

Trying to link with libjpeg.a, I get this error from xCode :

"testproject:0: table of contents for archive: /Users/celestin/testproject/libjpeg.a is out of date; rerun ranlib(1) (can't load from it)"

I just compiled this lib from the last sources. What xCode means by "is out of date" ?

Thanks for your help.

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


This email sent to email@hidden


_______________________________________________ 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
References: 
 >libjpeg.a is out of date; rerun ranlib (From: Stephane Pinel <email@hidden>)

  • Prev by Date: Re: Xcode and CVS: "SCM Unavailable"
  • Next by Date: Code optimisation always -0s [again :)]
  • Previous by thread: libjpeg.a is out of date; rerun ranlib
  • Index(es):
    • Date
    • Thread