X-Original-To: pgsql-hackers-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id E65339DC99B for ; Sat, 4 Feb 2006 06:59:34 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 16144-08 for ; Sat, 4 Feb 2006 06:59:36 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from svana.org (svana.org [125.62.94.225]) by postgresql.org (Postfix) with ESMTP id 172699DC9A3 for ; Sat, 4 Feb 2006 06:59:32 -0400 (AST) Received: from kleptog by svana.org with local (Exim 4.50) id 1F5L8T-0004TZ-PA; Sat, 04 Feb 2006 21:59:21 +1100 Date: Sat, 4 Feb 2006 11:59:21 +0100 From: Martijn van Oosterhout To: Peter Eisentraut Cc: pgsql-hackers@postgresql.org Subject: Re: [PORTS] Failed install - libgen.so doesn't exist Message-ID: <20060204105921.GA17045@svana.org> Reply-To: Martijn van Oosterhout References: <200602011613.k11GD9S16723@candle.pha.pa.us> <1208.1138811351@sss.pgh.pa.us> <200602040154.52340.peter_e@gmx.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="CE+1k2dSO48ffgeK" Content-Disposition: inline In-Reply-To: <200602040154.52340.peter_e@gmx.net> X-PGP-Key-ID: Length=1024; ID=0x0DC67BE6 X-PGP-Key-Fingerprint: 295F A899 A81A 156D B522 48A7 6394 F08A 0DC6 7BE6 X-PGP-Key-URL: X-Warning: Normally my messages are signed, but not on the ozTiVo list due to legacy application support User-Agent: Mutt/1.5.9i X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: kleptog@svana.org X-SA-Exim-Scanned: No (on svana.org); SAEximRunCond expanded to false X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.138 required=5 tests=[AWL=0.138] X-Spam-Score: 0.138 X-Spam-Level: X-Archive-Number: 200602/121 X-Sequence-Number: 79259 --CE+1k2dSO48ffgeK Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Feb 04, 2006 at 01:54:52AM +0100, Peter Eisentraut wrote: > I took a first swing at this and rearranged some of these calls. Cool. I actually went through a while ago trying to work out which libraries were needed for which platforms. Comments below. > A couple of other findings: >=20 > nsl -- This might contain socket functions on some older platforms. This appears to always be paired with -lsocket on solaris and svr4. In theory -lsocket should pull in -lnsl automatically but maybe there are linker issues. > ipc, IPC, lc -- unknown -lipc was apparently for bsdi, nextstep. Don't know about the others. > ld -- On AIX at least this seems to be some magic library but doesn't=20 > have an obvious testable symbol. Indeed, appears to be AIX only. > compat -- could be anything, obviously I have it listed as only needed for PRE_BSDI_2_1. I don't really know though. > bsd, BSD -- I seem to recall that these and possibly compat are used by= =20 > Solaris to switch to BSD semantics on certain functions, but I don't=20 > think we rely on that (anymore). Apparently -lbsd is used on AIX but it contains pow() which is the wrong one (the comment wasn't clear). -lBSD was for hpux. Linux used to use it but not anymore. > gen -- "generic" or "general", so this could be a lot, but it might=20 > contain syslog on some platforms at least. No info on this one. > PW -- might be a compatibility library but none of the functions I found= =20 > are used by PostgreSQL. Listed for old SCO. No idea what for though. > resolv -- I don't think we need that. Probably included because some other library required it but didn't include it in its link line, requiring every user of the library to do it. The same way -ltermcap is required on a default -lreadline install. Have a nice day, --=20 Martijn van Oosterhout http://svana.org/kleptog/ > Patent. n. Genius is 5% inspiration and 95% perspiration. A patent is a > tool for doing 5% of the work and then sitting around waiting for someone > else to do the other 95% so you can sue them. --CE+1k2dSO48ffgeK Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFD5IkJIB7bNG8LQkwRAtqEAJ42HHydloGEg0dZ7mYcMF4X4mjBswCfUhXz FVxSOmbPl7Nv8Iex7LedXQg= =g48g -----END PGP SIGNATURE----- --CE+1k2dSO48ffgeK--