Re: Bug #804: plpgsql not work on solaris - Mailing list pgsql-bugs

From Bhuvan A
Subject Re: Bug #804: plpgsql not work on solaris
Date
Msg-id Pine.LNX.4.44.0210241859310.12986-100000@Bhuvan.bksys.co.in
Whole thread Raw
In response to Bug #804: plpgsql not work on solaris  (pgsql-bugs@postgresql.org)
List pgsql-bugs
> Long Description
> I try to create language plpgsql for db "template1" on solaris 9 but don't work.
> It's seems that all other work, but i' don't sure.
> Below i write the response of shell (bash).
>
> Sample Code
> bash-2.05$ createlang plpgsql template1
> ERROR:  Load of file /usr/local/pgsql/lib/plpgsql.so failed: ld.so.1: /usr/local/pgsql/bin/postmaster: errore
fatale:libgcc_s.so.1:impossibile aprire: File o directory non trovati 
> createlang: language installation failed

I suppose, the language interpreter is not in that directory. Try
$ locate plpgsql.so
/usr/lib/pgsql/plpgsql.ro
$ createlang -L /usr/lib/pgsql/ -d template1 'plpgsql'

regards,
bhuvaneswaran

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: set search_path documentation missing from development docs
Next
From: Konstantin Tokar
Date:
Subject: count(*) bag ?