• 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: Linking libxml and libxslt
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Linking libxml and libxslt


  • Subject: Re: Linking libxml and libxslt
  • From: Michael Rothwell <email@hidden>
  • Date: Mon, 4 Jul 2005 22:12:42 -0400


In my experience, that can make it difficult to delete an application bundle later. The OS will this the dylib is still in use. There are proper frameworks for libxml and libxslt that you can use on 10.2 on up. I've used them in several apps, even on Panther (which includes a version of libxml) and Tiger (which includes libxml and libxslt).


You can get the frameworks hereL
http://www.explain.com.au/oss/libxml2xslt.html


On Jul 4, 2005, at 2:58 PM, Bob Ippolito wrote:


On Jul 4, 2005, at 8:19 AM, Knud Möller wrote:


I'm trying to use libxml and libxslt in a project, but get errors during linking.

ld: /Users/kmoeller/Projekte/semiBlogStuff/semiBlogPlugins/ SimpleFormatPublisher/build/SimpleFormatPublisher.build/ SimpleFormatPublisher.build/Objects-normal/ppc/ SBSimpleFormatPublisher.o illegal reference to symbol: _xmlSubstituteEntitiesDefault defined in indirectly referenced dynamic library /usr/lib/libxml2.2.dylib

I looked around a bit and it seems that the solution to this is to link to libxml2.2.bylib manually. However, I'm unable to figure out just how to do that in XCode. Is there a specific setting in the project settings? Some Linker flags I have to set? Obviously there is no way to just drag the dylibs in, as I would do with a framework.


Actually, you can just drag the dylibs in, as you would do with a framework.


-bob

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Linking libxml and libxslt (From: Knud Möller <email@hidden>)
 >Re: Linking libxml and libxslt (From: Bob Ippolito <email@hidden>)

  • Prev by Date: Re: Reading data from an NSTask [SOLVED]
  • Next by Date: NSPredicate & Spotlight query strings
  • Previous by thread: Re: Linking libxml and libxslt
  • Next by thread: Re: NSOutlineView not always showing "expand triangle"
  • Index(es):
    • Date
    • Thread