correct way to install contrib packages

From: Rajesh Kumar Mallah <mallah(at)trade-india(dot)com>
To: pgsql-admin(at)postgresql(dot)org
Subject: correct way to install contrib packages
Date: 2002-02-19 17:09:06
Message-ID: 3C7286B2.2F08457D@trade-india.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

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.

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Peter Eisentraut 2002-02-19 17:38:56 Re: correct way to install contrib packages
Previous Message Stephan Szabo 2002-02-19 16:42:42 Re: Problem