Re: Craetalang function can't find libgcc_s.so.1 on Solaris

From: Alvaro Herrera <alvherre(at)atentus(dot)com>
To: Randall Perry <rgp(at)systame(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Craetalang function can't find libgcc_s.so.1 on Solaris
Date: 2002-08-12 04:36:17
Message-ID: Pine.LNX.4.44.0208120033460.29879-100000@cm-lcon1-46-187.cm.vtr.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Randall Perry dijo:

> I successfully compiled, installed, initdb'ed' and started Postgres 7.2.1
> only to discover createlang wouldn't work. Here's the error:
>
> # /usr/local/pgsql/bin/createlang plpgsql template1
> ERROR: Load of file /usr/local/pgsql/lib/plpgsql.so failed: ld.so.1:
> /usr/local/pgsql/bin/postmaster: fatal: libgcc_s.so.1: open failed: No such
> file or directory
> createlang: language installation failed
>
> Libgcc_s.so.1 is in the environment path at /usr/local/lib.

Put /usr/local/lib in LD_LIBRARY_PATH, or in /etc/ld.so.conf (I'm
assuming Linux's ld.so behaviour; I don't know whether Solaris is
similar. At least the LD_LIBRARY_PATH trick should work). That should
do the trick.

--
Alvaro Herrera (<alvherre[a]atentus.com>)
"Granting software the freedom to evolve guarantees only different results,
not better ones." (Zygo Blaxell)

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message frbn 2002-08-12 08:45:05 Re: libpq
Previous Message Randall Perry 2002-08-12 04:26:21 Craetalang function can't find libgcc_s.so.1 on Solaris 8