Re: ranlib ranlib
Re: ranlib ranlib
- Subject: Re: ranlib ranlib
- From: "Peter O'Gorman" <email@hidden>
- Date: Tue, 02 May 2006 08:55:41 +0900
On Mon, 2006-05-01 at 15:54 -0700, Wesley Smith wrote:
> > Oops, that should be: otool -av liblua.a
>
>
> Great! thanks for that. So, here's my archive list from the Terminal:
>
> -rw-r--r-- 1 root staff 567192 May 1 11:44 liblua.a
>
> Archive : liblua.a
> -rw-r--r-- 0/0 5752 Mon May 1 15:54:23 2006 __.SYMDEF
>
> The SYMDEF has a date _later_ than the archive file date. Yet, I'm
> still getting the ranlib runaround from xcode/gcc. Does this look
> right? I think it does.
This looks fine to me too. The only option left is Jonas' wrong liblua
being found by the linker one. Try adding the full path to the installed
liblua.a to the link instead of -llua. I'm sorry, I'm sure that there's
some way to do this in xcode, but I don't know what it is.
You could also try from the command line to make sure that something
totally screwy isn't going on:
cc -o foo /usr/local/lib/liblua.a
should complain about missing _main rather than out-of-date Table of
contents.
Peter
Attachment:
signature.asc
Description: This is a digitally signed message part
_______________________________________________
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