Re: ld: library not found for -lcrt1.10.5.o
Re: ld: library not found for -lcrt1.10.5.o
- Subject: Re: ld: library not found for -lcrt1.10.5.o
- From: Greg Guerin <email@hidden>
- Date: Wed, 31 Oct 2007 12:24:32 -0700
Terry Simons wrote:
>Here's how I've used it in my configure.ac:
>
> LIBS="$(SDKROOT)/usr/lib -lxml2"
>...
>How is SDKROOT typically defined?
SDKROOT is defined as an environment variable, which to the shell, makes it
a variable.
When writing a shell script be sure to use shell syntax for variables, e.g.:
LIBS="${SDKROOT}/usr/lib -lxml2"
Note the curly braces instead of parens.
The shell syntax $(foo) means "run the enclosed command and collect its
output", like `foo`. This is contraindicated.
-- GG
_______________________________________________
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