Re: tsearch2 installation problem - Mailing list pgsql-admin

From Shoaib Mir
Subject Re: tsearch2 installation problem
Date
Msg-id bf54be870604170506t64078ecfgd7e9694d30b71141@mail.gmail.com
Whole thread Raw
In response to tsearch2 installation problem  ("Danish" <me.linuxadmin@gmail.com>)
Responses Re: tsearch2 installation problem  ("Danish" <me.linuxadmin@gmail.com>)
List pgsql-admin
I just tried it going to contrib/tsearch2 folder and then did the following:

make
make install

It created a tsearch2.so file in the lib directory of pgsql which is used while registering the tsearch2 functions. Make sure you have that .so file created under the lib folder of pgsql.

Hope this helps...

/Shoaib


and then it create

On 17 Apr 2006 01:16:09 -0700, Danish < me.linuxadmin@gmail.com> wrote:
Hi Everyone,
I have installed postgresql 8.1.3.tar.gz . After compiling and
installing the postgresql is running fine but Im not able to install
tsearch2. I went under the postgresql source directory
/usr/local/postgresql8.1.3/contrib and then did a
#gmake all
#gmake install

After issuing these commands, a contrib directory was created under
/usr/local/pgsql/share

Going under the /usr/local/pgsql/share/contrib directory i ran the
command as user postgres

$psql -d dbname -f tsearch2.sql
SET
BEGIN
psql:tsearch2.sql:13: NOTICE:  CREATE TABLE / PRIMARY KEY will create
implicit index "pg_ts_dict_pkey" for table "pg_ts_dict"
CREATE TABLE
psql:tsearch2.sql:20: ERROR:  could not access file "$libdir/tsearch2":
No suchfile or directory
psql:tsearch2.sql:26: ERROR:  current transaction is aborted, commands
ignored until end of transaction block

then i got the above errors..
Can anyone please help me out as to what is going wrong
Thanks
Danish


---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster

pgsql-admin by date:

Previous
From: "Danish"
Date:
Subject: tsearch2 installation problem
Next
From: tony
Date:
Subject: downward dump compatibility