Re: [xml] [PATCH] DSO/Module Support



On Tue, Dec 21, 2004 at 11:12:28AM -0700, Kevin P. Fleming wrote:
Joel Reed wrote:
The following patch implements a basic API for dynamically loading
shared objects (.so/.dll files).

Is there a specific reason why you are re-implementing the ltdl library 
provided with libtool? It already knows all these platform specific 
machinations, it can handle purely-static builds on platforms that 
require it (or when the user chooses it), etc.

i proposed using the ltdl library a long time ago, when i was implementing
the exslt:crypto extension. at that time, there was considerable
concern expressed on this list about using ltdl in a library that was
so widely used particulary wrt. symbol conflicts. 

btw, xmlsec handles the symbol conflicts like this: 
http://mail.gnome.org/archives/xslt/2004-May/msg00031.html

iirc, using ltdl on win32 was not pretty/straightforward either.

finally the licence issues of LGPL vs MIT, and the fact that
apache's APR DSO functions didn't use ltdl, led me to the current
implementation.

jr



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]