At 21:47 7/07/00 +0200, Jan Wieck wrote:
>
> And how should binary distributions like RPM's handle it? I
> assume that this problem is already on it's way because of
> the integration of zlib into pg_dump. The only way I see is
> having different RPM's for each possible combination of
> available helper libs. Or is there another way to work
> around?
This remoinded me of a question I wanted to ask Unix people: other OSs I
use allow for dynamic linking, at runtime and in code, against shared
libraries, and I know Unix must allow this. The places where zlib is used
are pretty limited, so it might be worth considering doing the 'HAVE_ZLIB'
kinds of checks at runtime. Then one binary fits all...
Is this hard or easy - at least on machines with a libz.so?
Is it worth doing?
I guess the alternative on rpm is to create both: pg_dump.zlib and
pg_dump.nozlib, and install the right one?
----------------------------------------------------------------
Philip Warner | __---_____
Albatross Consulting Pty. Ltd. |----/ - \
(A.C.N. 008 659 498) | /(@) ______---_
Tel: (+61) 0500 83 82 81 | _________ \
Fax: (+61) 0500 83 82 82 | ___________ |
Http://www.rhyme.com.au | / \| | --________--
PGP key available upon request, | /
and from pgp5.ai.mit.edu:11371 |/