From: | ahoward <ahoward(at)fsl(dot)noaa(dot)gov> |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: Not finding local variables and libs |
Date: | 2003-02-10 16:34:53 |
Message-ID: | Pine.LNX.4.33.0302101624210.3685-100000@eli.fsl.noaa.gov |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-php |
On Mon, 10 Feb 2003, Stephan Szabo wrote:
> > ld.so.1: /usr/local/pgsql/bin/psql: fatal: libgcc_s.so.1: open failed: No such
> > file or directory
> > Killed
> > vacuumdb: vacuum lismarch failed
> >
> > I thought it was a PHP problem, but these commands are especifically from
> > PostgreSQL, so I guess the problem is there.
>
> Are the environments different, maybe something like LD_LIBRARY_PATH or
> some such?
you may be able to determine the location of libgcc_s.so.1 with
gcc -print-libgcc-file-name
once you find the library you need to make sure ld.so can find it at runtme.
LD_LIBRARY_PATH _can_ do this but it's a hack. better to tell the binaries
(like psql) that need this library where to find it themselves using, for
example,
* edit /etc/ld.so.conf and run ldconfig
* use the -rpath argument of the linker to set to the location of
libgcc_s.so
* recompile with LD_RUN_PATH set to the location of libgcc_s.so
man ldd
man ld.so
will explain these.
-a
--
====================================
| Ara Howard
| NOAA Forecast Systems Laboratory
| Information and Technology Services
| Data Systems Group
| R/FST 325 Broadway
| Boulder, CO 80305-3328
| Email: ahoward(at)fsl(dot)noaa(dot)gov
| Phone: 303-497-7238
| Fax: 303-497-7259
====================================
From | Date | Subject | |
---|---|---|---|
Next Message | Chantal Ackermann | 2003-02-10 16:51:08 | Re: upgrade from 7.3.1 to 7.3.2 |
Previous Message | Stephan Szabo | 2003-02-10 16:03:58 | Re: Not finding local variables and libs |
From | Date | Subject | |
---|---|---|---|
Next Message | Martin Marques | 2003-02-11 11:40:24 | Re: Not finding local variables and libs |
Previous Message | Stephan Szabo | 2003-02-10 16:03:58 | Re: Not finding local variables and libs |