X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 0278A9FA5E2 for ; Tue, 30 May 2006 11:43:41 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 22479-04 for ; Tue, 30 May 2006 11:43:28 -0300 (ADT) X-Greylist: delayed 00:24:23.428282 by SQLgrey- Received: from svr4.postgresql.org (svr4.postgresql.org [66.98.251.159]) by postgresql.org (Postfix) with ESMTP id 05E8E9FA8EF for ; Tue, 30 May 2006 11:43:28 -0300 (ADT) Received: from ns01.qresc.com (ns01.qresc.com [212.244.145.2]) by svr4.postgresql.org (Postfix) with ESMTP id 8AD165AF853 for ; Tue, 30 May 2006 14:18:58 +0000 (GMT) Received: from [127.0.0.1] (troy04.qresc.com [212.244.145.64]) by ns01.qresc.com (8.13.4/8.13.4/Debian-3sarge1) with ESMTP id k4UEQVpL027872 for ; Tue, 30 May 2006 16:26:56 +0200 Message-ID: <447C5415.4090808@qresc.com> Date: Tue, 30 May 2006 16:17:57 +0200 From: Sergiusz Jarczyk User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: pgsql-admin@postgresql.org Subject: Re: Problem building initdb on sparc10 References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200605/407 X-Sequence-Number: 21939 Hi [...] > > I ran ldd on libpq.so ldd interfaces/libpq/libpq.so > libresolv.so.2 => /lib/libresolv.so.2 > libsocket.so.1 => /lib/libsocket.so.1 > libnsl.so.1 => /lib/libnsl.so.1 > *libgcc_s.so.1 => (file not found)* > libc.so.1 => /lib/libc.so.1 > libmp.so.2 => /lib/libmp.so.2 > libmd5.so.1 => /lib/libmd5.so.1 > libscf.so.1 => /lib/libscf.so.1 > libdoor.so.1 => /lib/libdoor.so.1 > libuutil.so.1 => /lib/libuutil.so.1 > libm.so.2 => /lib/libm.so.2 > /platform/SUNW,Ultra-60/lib/libc_psr.so.1 > /platform/SUNW,Ultra-60/lib/libmd5_psr.so.1 > If you notice libgcc_s.so.1 was not found. But I found it using find > (see bellow) > > # find / -name "libgcc_s.so.1" > /usr/sfw/lib/sparcv9/libgcc_s.so.1 > /usr/sfw/lib/libgcc_s.so.1 > /usr/local/lib/sparcv9/libgcc_s.so.1 > /usr/local/lib/libgcc_s.so.1 > Did you tried with LD_LIBRARY_PATH pointing to /usr/sfw/lib or /usr/local/lib? Normally, Solaris software ignore this variable, but many software, linked against GNU libraries, do (GNU ld is using it too). Sergiusz