[Expat-discuss] Re: Conflict with two expat shared libraries

Karl Waclawek karl at waclawek.net
Fri Sep 3 17:15:33 CEST 2004


----- Original Message ----- 
From: "Steinar Bang" <sb at dod.no>
To: <expat-discuss at libexpat.org>
Sent: Friday, September 03, 2004 1:34 AM
Subject: [Expat-discuss] Re: Conflict with two expat shared libraries


> >>>>> "Karl Waclawek" <karl at waclawek.net>:
> 
> > You can also load the UTF-16 version of Expat dynamically using
> > dlopen() and dlsym().
> 
> Thanx for the pointer!  For me, since I'm using Qt, it would be even
> simpler to use the QLibrary class:
> http://doc.trolltech.com/3.3/qlibrary.html

That looks cool!
 
> But either way, I would have to make changes to the code itself, and
> if I don't decide to go this way on Win32 as well (where it isn't
> neccessary), I'll get a lot of #ifdefs in the code.
> 
> I was sort of hoping there was a way to achive the effect of dlsym()
> in static linking, through flags given to the linker.  I've been
> reading the ld() man page some, but I haven't seen anything I
> understand, that points to this.
> 
> So I'm still pondering the approach to take.

Please let us know what you come up with. Your problem is likely not unique.

Regards,

Karl


More information about the Expat-discuss mailing list