On Fri, Jun 01, 2012 at 09:05:17AM +1000, Greg Banks wrote:
> > is considered by the dynamic loader, and are in ldconfig's path. So
> > what is the problem, when the perl shared objects do not contain -rpath?
> > I think the other executables shall also not contain it.
> So this problem might not affect you, but it will break FastMail
> completely. We build and install *on the same machine* multiple Cyrus
> .deb packages built with different --prefix options. For this to work,
> we expect that
> * When built with --prefix=/foo where /foo != /usr, Cyrus will install
> everything under /foo and nothing at all under /usr (this ensures that
> multiple packages don't try to own the same files, so they can be
> removed and installed independently without concern)
> * If an installed executable e.g. /foo/bin/master is run, it knows how
> to find all the runtime resources it needs to find from subdirectories
> of /foo without further intervention (this ensures we don't need to
> futz with environment variables, nor use full pathnames to service
> executable in cyrus.conf)
It will also break potential future cross-version testing environments
where multiple releases are installed on the same machine with local
instances in murder configuration or just actions done in one instance
and then an upgrade to another.