• 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
Proper way to link to libxml and zlib
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Proper way to link to libxml and zlib


  • Subject: Proper way to link to libxml and zlib
  • From: Tim Conkling <email@hidden>
  • Date: Thu, 2 Jun 2005 14:08:57 -0400

I'm using libxml and zlib in my program. When I compile and run the program with ZeroLink enabled, everything works fine. When I compile with ZeroLink disabled, I get a bunch of undefined symbols at link time for both libraries. I searched my computer for files containing the word "libxml" in them, and came up with libxml2.2.dylib, which is in the MacOSX10.4.0.sdk directory in /Developer/. I added this file to my project and put in the Link Binary With Libraries build phase, and eliminated all the libxml-related undefined symbol errors. I couldn't, however, find a similar zlib library to link my program with.

I have a couple questions:
First, am I linking with libxml correctly? I suspect the answer is no, since this dylib only exists in the Developer directory, and doesn't seem to be included with Mac OS X itself.
Second, what do I need to do to make zlib work?


Thanks,
Tim
_______________________________________________
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


  • Follow-Ups:
    • Re: Proper way to link to libxml and zlib
      • From: Fritz Anderson <email@hidden>
  • Prev by Date: Re: XCode overzealous external editor support...
  • Next by Date: Re: Proper way to link to libxml and zlib
  • Previous by thread: Re: XCode overzealous external editor support...
  • Next by thread: Re: Proper way to link to libxml and zlib
  • Index(es):
    • Date
    • Thread