Martijn van Oosterhout wrote: -- Start of PGP signed section. > On Wed, Dec 21, 2005 at 02:51:46PM -0500, Bruce Momjian wrote: > > If you add a version number to the Win32 libpq name, you have to update > > any command-line compile tools that mention libpq after an upgrade. The > > Unix linker knows about version numbers, but the Win32 linker doesn't, > > so adding version numbers does add quite a bit of chaos to the Win32 > > compile world. > > The funny thing about it is that the UNIX linker doesn't know about > version numbers at all. It just looks for a lib<libname>.so (no > version) which is symlinked to the actual version to use. Thus just by > changing a few symlinks you can control which library version is linked > in. Delete the .so and the linker won't find the library anymore (and > fall back to the .a lib) though runtime users still will find it > because they *do* have the version number, which is extracted from the > library itself.
Yes, important distinction. Thanks for the clarification. -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073 ---------------------------(end of broadcast)--------------------------- TIP 5: don't forget to increase your free space map settings