• 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: cp "destroys" static libraries?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: cp "destroys" static libraries?


  • Subject: Re: cp "destroys" static libraries?
  • From: Jesper Papmehl <email@hidden>
  • Date: Tue, 16 Aug 2005 18:53:12 +0200

16 aug 2005 kl. 18.48 skrev Justin C. Walker:
On Aug 16, 2005, at 09:38 , Jesper Papmehl wrote:
[snip]
When I try to link my app, I get the following error message:
ld: table of contents for archive: <path>/libMyLib.a is out of date; rerun ranlib(1) (can't load from it)
[snip]

You have two choices:
- run 'ranlib' (cf. "man ranlib" for details); this will modify the TOC of
the library, so you need to have write permission for the file;
- copy using 'cp -p' (cf. "man cp" for details).

Thanks! cp -p solves the problem for me. :)

/Jesper

_______________________________________________
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: 
 >cp "destroys" static libraries? (From: Jesper Papmehl <email@hidden>)
 >Re: cp "destroys" static libraries? (From: "Justin C. Walker" <email@hidden>)

  • Prev by Date: Re: cp "destroys" static libraries?
  • Next by Date: server side application
  • Previous by thread: Re: cp "destroys" static libraries?
  • Next by thread: (no subject)
  • Index(es):
    • Date
    • Thread