• 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: zlib link error
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: zlib link error


  • Subject: Re: zlib link error
  • From: "Sean McBride" <email@hidden>
  • Date: Thu, 20 Oct 2005 15:31:48 -0400
  • Organization: Rogue Research

On 2005-10-20 08:34, Chris Espinosa said:

>> For the time being, you can work around this by adding "-lz" to your
>> Other Linker Flags and removing libz.dylib from your project.  I
>> believe this is fixed in an upcoming Xcode release.
>
>No, not -lz.  You need -l/usr/lib/zlib.dylib.

You mean:

-l/usr/lib/libz.dylib

But even then my app links with -lz but not -l/usr/lib/libz.dylib

I get:

/usr/bin/ld: can't locate file for: -l/usr/lib/libz.dylib
collect2: ld returned 1 exit status

--
____________________________________________________________
Sean McBride, B. Eng                 email@hidden
Rogue Research                        www.rogue-research.com
Mac Software Developer              Montréal, Québec, Canada


 _______________________________________________
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: 
 >zlib link error (From: Stephen Chu <email@hidden>)
 >Re: zlib link error (From: "D. Walsh" <email@hidden>)
 >Re: zlib link error (From: Stephen Chu <email@hidden>)
 >Re: zlib link error (From: Eric Albert <email@hidden>)
 >Re: zlib link error (From: Chris Espinosa <email@hidden>)

  • Prev by Date: Re: Scripting build settings
  • Next by Date: Re: dyld issues with library not in standard location
  • Previous by thread: Re: zlib link error
  • Next by thread: re: dyld: (No such file or directory, errno =2)... But the
  • Index(es):
    • Date
    • Thread