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 0DFD69DCBF3 for ; Fri, 3 Feb 2006 20:54:54 -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 61240-04 for ; Fri, 3 Feb 2006 20:54:56 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey- Received: from mail.gmx.net (mail.gmx.de [213.165.64.21]) by postgresql.org (Postfix) with SMTP id A4AAD9DC898 for ; Fri, 3 Feb 2006 20:54:50 -0400 (AST) Received: (qmail invoked by alias); 04 Feb 2006 00:54:53 -0000 Received: from dslb-084-063-030-013.pools.arcor-ip.net (EHLO colt.pezone.net) [84.63.30.13] by mail.gmx.net (mp029) with SMTP; 04 Feb 2006 01:54:53 +0100 X-Authenticated: #495269 From: Peter Eisentraut To: pgsql-hackers@postgresql.org Subject: Re: [PORTS] Failed install - libgen.so doesn't exist Date: Sat, 4 Feb 2006 01:54:52 +0100 User-Agent: KMail/1.8.3 References: <200602011613.k11GD9S16723@candle.pha.pa.us> <1208.1138811351@sss.pgh.pa.us> In-Reply-To: <1208.1138811351@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200602040154.52340.peter_e@gmx.net> X-Y-GMX-Trusted: 0 X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.13 required=5 tests=[AWL=0.130] X-Spam-Score: 0.13 X-Spam-Level: X-Archive-Number: 200602/118 X-Sequence-Number: 79256 Tom Lane wrote: > should be working towards a project policy that AC_CHECK_LIB calls > shalt not use "main", but must name some symbol exported by the > expected library. If we can't find out what symbols the library is > expected to provide, it's time to dike it out. I took a first swing at this and rearranged some of these calls. A couple of other findings: nsl -- This might contain socket functions on some older platforms. ipc, IPC, lc -- unknown ld -- On AIX at least this seems to be some magic library but doesn't have an obvious testable symbol. compat -- could be anything, obviously bsd, BSD -- I seem to recall that these and possibly compat are used by Solaris to switch to BSD semantics on certain functions, but I don't think we rely on that (anymore). gen -- "generic" or "general", so this could be a lot, but it might contain syslog on some platforms at least. PW -- might be a compatibility library but none of the functions I found are used by PostgreSQL. resolv -- I don't think we need that. -- Peter Eisentraut http://developer.postgresql.org/~petere/