Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



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:
http://lists.apple.com/mailman/options/xcode-users/ 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: http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden
References: 
 >libjpeg.a is out of date; rerun ranlib (From: Stephane Pinel <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.