pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Rajesh Kumar Mallah <mallah@trade-india.com>
To: pgsql-admin@postgresql.org
Subject: correct way to install contrib packages
Date: Tue, 19 Feb 2002 22:39:06 +0530
Message-ID: <3C7286B2.2F08457D@trade-india.com> (raw)

How is one supposed to install the  postgresql
contrib packages in an RPM based system? (sorry for starting with a
question )

I did the following.
1.  Built the binary rpms from source rpms as described in README(s)
2.   rpm -Uvh *.rpm   (for all the binary rpms , including
postgresql-contrib)
3. cd /usr/lib/pgsql/contrib/<somepackage>
4. psql -U postgres template1  -f  package.sql

The problem is in the <package>.sql file there is a $libdir variable  ,
which unless changed to  value of `pwd`
refuses to load becoz it cant find the .so files!
was it the proper way ??

also in case ot tsearch contrib module i had to manually link
libtsearch.so to tsearch.so  to load the contrib package.

regds
Rajesh Kumar Mallah.

view thread (2+ messages)  latest in thread

Message-ID: <3C7286B2.2F08457D@trade-india.com>
Permalink:  ../3C7286B2.2F08457D@trade-india.com/
Also on:    postgresql.org/message-id/3C7286B2.2F08457D@trade-india.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: mallah@trade-india.com
  Subject: Re: correct way to install contrib packages
  In-Reply-To: <3C7286B2.2F08457D@trade-india.com>
  References: <3C7286B2.2F08457D@trade-india.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox