Bruce Momjian writes:
> > No, the run-time linker only looks at the major version.
>
> Then what value is there to incrementing the minor number?
For those platforms that have an ldconfig program, the ldconfig will
update the symlinks to the shared library based on the minor version
number. So if you have installed somewhere
libpq.so.2.2 libpq.so.2.3
then ldconfig will create a symlink
libpq.so.2 -> libpq.so.2.3
because that is the newest/best version. Note that "libpq.so.2" is the
file name that the dynamic loader will actually look for.
Other platforms probably have a mechanism that comes out to the same
effect.
--
Peter Eisentraut peter_e@gmx.net