X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 817FD9DCBB2 for ; Tue, 7 Feb 2006 16:11:44 -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 37725-01 for ; Tue, 7 Feb 2006 16:11:45 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id E7A429DCB6D for ; Tue, 7 Feb 2006 16:11:41 -0400 (AST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.1/8.13.1) with ESMTP id k17KBfNc029691; Tue, 7 Feb 2006 15:11:41 -0500 (EST) To: cgg007@yahoo.com cc: pgsql-admin@postgresql.org Subject: Re: PostgreSQL 8.1 x86_64 and 32bit shared objects In-reply-to: <20060207200211.73709.qmail@web32512.mail.mud.yahoo.com> References: <20060207200211.73709.qmail@web32512.mail.mud.yahoo.com> Comments: In-reply-to CG message dated "Tue, 07 Feb 2006 12:02:11 -0800" Date: Tue, 07 Feb 2006 15:11:41 -0500 Message-ID: <29690.1139343101@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.246 required=5 tests=[AWL=-0.030, MAILTO_TO_SPAM_ADDR=0.276] X-Spam-Score: 0.246 X-Spam-Level: X-Archive-Number: 200602/73 X-Sequence-Number: 20494 CG writes: > Hm. It looks like building 32-bit Postgres is going to be even uglier > what with all the libraries that will have to be compiled into > lib32. It thought it would be easy enough to CC=gcc32 ./configure > --with-all-my-options ... Should I have started out with a 32-bit > Linux distro? Not sure what other distros are doing, but at least for Red Hat you should be able to get 32-bit versions of all the libraries in the standard distro, and even install them in parallel with 64-bit. Also, you probably want to use setarch rather than fooling piecemeal with CC etc. regards, tom lane