X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 83D90D1F1B1 for ; Wed, 5 May 2004 10:54:58 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 47218-06 for ; Wed, 5 May 2004 10:54:39 -0300 (ADT) Received: from netcetrallc.com (unknown [209.196.42.213]) by svr1.postgresql.org (Postfix) with ESMTP id 870B8D1D070 for ; Wed, 5 May 2004 10:54:35 -0300 (ADT) Received: from WORKSTATION (c-24-1-91-108.client.comcast.net [24.1.91.108]) by netcetrallc.com (8.12.9/8.12.9) with SMTP id i45CpqHn007923 for ; Wed, 5 May 2004 08:51:52 -0400 Message-ID: <03b401c432a8$885edf70$0200a8c0@WORKSTATION> From: "Kevin Schroeder" To: References: <20040504232627.BD2A44315@jimsun.LinxNet.com> Subject: Re: initdb error Date: Wed, 5 May 2004 08:54:49 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 X-Virus-Scanned: by amavisd-new at postgresql.org X-Spam-Status: No, hits=0.2 tagged_above=0.0 required=5.0 tests=RCVD_IN_RFCI, RCVD_IN_SORBS X-Spam-Level: X-Archive-Number: 200405/40 X-Sequence-Number: 13356 That would seem to be the problem. Thanks. Kevin ----- Original Message ----- From: "Jim Seymour" To: Sent: Tuesday, May 04, 2004 6:26 PM Subject: Re: [ADMIN] initdb error > "Kevin Schroeder" wrote: > > > > Hello, > > I'm trying to install PostgreSQL on Solaris 9. Everything's compiled > > properly but when I run initdb I get the following error: > > > [snip] > > creating conversions... ERROR: could not load library > > "/usr/local/pgsql/lib/ascii_and_mic.so": ld.so.1: > > /usr/local/pgsql/bin/postgres: fatal: libgcc_s.so.1: open failed: No such > > file or directory > > > > I found libgcc_s.so.1 in /usr/local/lib and that directory is in > > $LD_LIBRARY_PATH. Is there anything that I'm missing here or that I need to > > look for in my configure settings? > > Is that directory in LD_LIBRARY_PATH when you're su'd to the postgreSQL > user? > > I added > > LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib; export LD_LIBRARY_PATH > > to /etc/init.d/postgresql and created a .profile in its home directory > with that in it. > > Solved all those problems :). > > You can also solve such problems by using the -R switch during build > (man ld) and with Solaris 8/9's new "crle" utility. > > -- > Jim Seymour | PGP Public Key available at: > jseymour@LinxNet.com | http://www.uk.pgp.net/pgpnet/pks-commands.html > http://jimsun.LinxNet.com | > > ---------------------------(end of broadcast)--------------------------- > TIP 8: explain analyze is your friend