I *never* said it was easy. I only said it should be possible on most
platforms. Also, I never said it was even necessary.

Thanks for the tech discussion, I even feel my neurons getting out of
lethargy!  :)

On Jun 18, 2010 9:47 AM, "Victor Duchovni" <
victor.ducho...@morganstanley.com> wrote:

On Fri, Jun 18, 2010 at 12:17:40AM -0430, Jose Ildefonso Camargo Tolosa
wrote:

> > The plug-ins you...
Most platforms optionally compile-in LDAP support, and link against LDAP
libraries (static or dynamic). Don't confuse run-time dynamic linking
with dynamic loading of new modules.


> I mean, most platform actually support dynamic linking, so, just like it
> is done in Debian (and...
   - libtool is an abomination, I expect and very much hope that Postfix
     will not, any time soon, resort to using libtool.

   - The mechanisms for dynamic loading of modules are not standardized
     across various Unix-like systems. This feature requires a lot of
     abstraction code to to implement portably across AIX, MacOSX,
     Linux, HP-UX, ...


> I have seem similar things on Solaris too (.sl, if memory
> serves me).
Don't confuse HP-UX with Solaris, Solaris has ".so" files, and a sensibly
clean dynamic loading API (emulated by Linux).


> So, I would say that:most platforms support this.
Please donate libtool-free code that works on most platforms supported
by Postfix and:

   - Loads a shared object, with minimal pollution of the global
     symbol table (i.e. symbols of loaded object and dependencies
     are not visible outside the object and its dependency tree).

   - Finds a specific small set of symbols within the loaded object
     and returns a table of pointers to these.

   - Builds shared relocatable objects and constructs shared libraries
     on the various platforms in question.

It is a good idea do not claim that something is easy until you've
done it yourself. The difference between a novice and an expert is
that experts know which problems are not as easy as they may seem.

> Off course,

http://safarisbackpack.spaces.live.com/blog/cns!36664C9801636C53!216.entry

--
       Viktor.

Reply via email to