From: | "Kevin Schroeder" <kschroeder(at)mirageworks(dot)com> |
---|---|
To: | <pgsql-admin(at)postgresql(dot)org> |
Subject: | Re: initdb error |
Date: | 2004-05-05 13:54:49 |
Message-ID: | 03b401c432a8$885edf70$0200a8c0@WORKSTATION |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
That would seem to be the problem.
Thanks.
Kevin
----- Original Message -----
From: "Jim Seymour" <jseymour(at)LinxNet(dot)com>
To: <pgsql-admin(at)postgresql(dot)org>
Sent: Tuesday, May 04, 2004 6:26 PM
Subject: Re: [ADMIN] initdb error
> "Kevin Schroeder" <kschroeder(at)mirageworks(dot)com> 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(at)LinxNet(dot)com |
http://www.uk.pgp.net/pgpnet/pks-commands.html
> http://jimsun.LinxNet.com |
>
> ---------------------------(end of broadcast)---------------------------
> TIP 8: explain analyze is your friend
From | Date | Subject | |
---|---|---|---|
Next Message | Sally Sally | 2004-05-05 15:22:38 | postgres mirroring (real-time) |
Previous Message | Tom Lane | 2004-05-05 12:22:50 | Re: Help need with installing posgtresql 7.3.6 from src.rpm - reg. |