psql will not run - Mailing list pgsql-novice

From David Rickard
Subject psql will not run
Date
Msg-id 5.2.1.1.0.20030905110741.00ab5440@mail.gtscompanies.com
Whole thread Raw
Responses Re: psql will not run
Re: psql will not run
List pgsql-novice
After a successful install, and with postmaster running, we cannot get psql (or any of the psql-dependent scripts) to run;

The error message is:

        ld.so.1: /usr/local/app/pgsql/bin/psql: fatal: libgcc_s.so.1: open failed: No such file or directory

We have the LD_LIBRARY_PATH variable for the postgres user set to /usr/local/lib:/d1/gcc/lib;

The contents of /usr/local/lib are:

        gcc-lib               libg2c.so.0           libgcj.la             libhistory.a          libiberty.a           libreadline.so        libstdc++.so          security
        libfrtbegin.a         libg2c.so.0.0.0       libgcj.so             libhistory.old        libobjc.a             libreadline.so.4      libstdc++.so.4        sparcv9
        libg2c.a              libgcc_s.so           libgcj.so.3           libhistory.so         libobjc.la            libreadline.so.4.old  libstdc++.so.4.0.0
        libg2c.la             libgcc_s.so.1         libgcj.so.3.0.0       libhistory.so.4       libreadline.a         libstdc++.a           libsupc++.a
        libg2c.so             libgcj.a              libgcj.spec           libhistory.so.4.old   libreadline.old       libstdc++.la          libsupc++.la

The contents of /d1/gcc/lib are:

        gcc-lib                   lib-org-xml-sax.la        libffi.so                 libgcc_s.so               libgcj.spec               libstdc++.so.5
        lib-org-w3c-dom.a         lib-org-xml-sax.so        libfrtbegin.a             libgcc_s.so.1             libiberty.a               libstdc++.so.5.0.4
        ib-org-w3c-dom.la        lib-org-xml-sax.so.0      libg2c.a                  libgcj.a                  libobjc.a                 libsupc++.a
        ib-org-w3c-dom.so        lib-org-xml-sax.so.0.0.0  libg2c.la                 libgcj.la                 libobjc.la                libsupc++.la
        ib-org-w3c-dom.so.0      libffi-2.00-beta.so       libg2c.so                 libgcj.so                 libstdc++.a               security
        ib-org-w3c-dom.so.0.0.0  libffi.a                  libg2c.so.0               libgcj.so.4               libstdc++.la              sparcv9
        ib-org-xml-sax.a         libffi.la                 libg2c.so.0.0.0           libgcj.so.4.0.0           libstdc++.so

I cannot see any reason why the linker cannot find libgcc_s.so.1; any ideas?

--

David Rickard
Software Engineer
The GTS Companies
A TechBooks Company

----------------------------------------------------------------------------------
The GTS Companies:
GTS Publishing Services, GTS Graphics, GTS Innova:
Your Single-Source Solution!
Los Angeles CA  *  York, PA  *  Boston MA  *  New Delhi, India
----------------------------------------------------------------------------------


David.Rickard@GTSCompanies.com
Visit us on the World Wide Web
http://www.gtscompanies.com
5650 Jillson St., Los Angeles, CA 90040
(323) 888-8889 x331
(323) 888-1849 [fax]

pgsql-novice by date:

Previous
From: "M. Bastin"
Date:
Subject: PostgreSQL Server Status
Next
From: Tom Lane
Date:
Subject: Re: psql will not run