On Tue, Nov 23, 2010 at 01:28:45PM -0500, Wietse Venema wrote:

> Wietse Venema:
> > Victor Duchovni:
> > > There is a bit of pain around the ultimate location of the shared
> > > libraries
> 
> Perhaps a simpler option is to link into each Postfix program just
> enough bootstrap library code that it can read /etc/postfix/main.cf
> and then run-time link the shared Postfix library into itself (it
> can be simple if we forego macros in the $library_directory value).

This is rather invasive. We'd have to use function-pointer tables for
the bulk of the Postfix API. I don't think this is very practical.

I don't think that compile-time libraries are *that* painful, just a
bit tricky to get the right user-interface for specifying this value.

Yes, once compiled-in, the run-path is not easily changed. So the
installation directory for libraries cannot easily be changed at
install time, except into a directory on the system library search
path.

-- 
        Viktor.

Reply via email to