On Tue, Nov 23, 2010 at 01:43:35PM -0500, Wietse Venema wrote:
> Victor Duchovni:
> > Table drivers may depend on internal library interfaces that a particular
> > application does not directly depend on, and so a statically linked
> > executable may not contain all the pre-requisite entry-points.
>
> The plug-in would not know how to call them anyway.
The plug-in (say an LDAP table driver) will know how to call call
"db_common" code in libglobal, because it is dynamically linked against
the same libglobal library.
> Any comments on the mainc.f bootstrap idea?
I don't think it is viable. See my previous post.
>
> I really hate the idea of different builds for testing and installing.
> It's an unnecessary hoop that computers should be able to deal with,
> instead of forever increasing the maintenance workload.
Rather than main.cf, we could hard-code a run-path of
/etc/postfix/lib/<version>/, and install symlinks there. Then,
so long a test build is a new version, there is no need to
compile a different build. Otherwise, it is VMs, chroot environments,
or re-compilation.
--
Viktor.