Re: Forcing Xcode to prefer a specific dylib
Re: Forcing Xcode to prefer a specific dylib
- Subject: Re: Forcing Xcode to prefer a specific dylib
- From: Brad Peterson <email@hidden>
- Date: Thu, 17 Apr 2008 07:29:42 -0700 (PDT)
Hi,
Currently, libcurl is specified in the target build
settings under "Other Linker Flags" as:
-lcurl
I tried changing it to -lcurl.3 but that made no
difference.
Is that different from what you're suggesting?
Thanks!
--- Ramón Medrano Llamas <email@hidden>
wrote:
> Have you tried to add libcurl3 to the Link phase of
> your target?
>
> 2008/4/17, Brad Peterson <email@hidden>:
> >
> > Hi all,
> >
> > I'm trying to build an app that uses libcurl on
> 10.5.
> > However, it must also run on 10.4. (Yes, I could
> build
> > on 10.4, but that's a considerable hassle for me
> > personally.)
> >
> > On 10.5, Xcode seems to prefer libcurl.4.dylib,
> even
> > though other earlier versions are available. Of
> > course, on 10.4, only libcurl.3.dylib is
> available.
> >
> > I've tried everything I can think of, including
> (but
> > not limited to ;) ) using install_name_tool, -weak
> > linking, and so on, but to no avail.
> >
> > So, I'd like to know how I can force Xcode to link
> > against libcurl.3.dylib instead of simply choosing
> the
> > latest version available.
> >
> > I tried using -lcurl.3 in the build settings, but
> it
> > seems to ignore me.
> >
> > Thanks!
> >
> > B
> >
> >
> >
> >
>
____________________________________________________________________________________
> > Be a better friend, newshound, and
> > know-it-all with Yahoo! Mobile. Try it now.
> >
>
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
> > _______________________________________________
> > 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
> >
>
>
>
> --
>
> Ramón Medrano Llamas
> Coordinador de eventos & Webmaster
> EUITIO Mac's Users & Developers
>
> email@hidden
> email@hidden
> email@hidden
>
> http://ramonmedrano.es/
>
>
> Advertencia Legal:
> Este correo electrónico es confidencial y no se
> autoriza su uso, revelación,
> distribución, impresión o copia.
> Este mensaje de correo electrónico y sus documentos
> adjuntos están dirigidos
> exclusivamente a los destinatarios especificados.
> La información contenida puede ser confidencial y/o
> estar legalmente
> protegida.
> Si Usted recibe este mensaje por error, por favor
> comuníqueselo
> inmediatamente al remitente y elimínelo ya que usted
> no está autorizado al
> uso, revelación, distribución, impresión o copia de
> toda o alguna parte de
> la información contenida.
>
____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
_______________________________________________
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