correct way to install contrib packages

Поиск
Список
Период
Сортировка
От Rajesh Kumar Mallah
Тема correct way to install contrib packages
Дата
Msg-id 3C7286B2.2F08457D@trade-india.com
обсуждение исходный текст
Ответы Re: correct way to install contrib packages  (Peter Eisentraut <peter_e@gmx.net>)
Список 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.
 

В списке pgsql-admin по дате отправления:

Предыдущее
От: Stephan Szabo
Дата:
Сообщение: Re: Problem
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: correct way to install contrib packages