From: Shoaib Mir <shoaibmir@gmail.com>
To: pgsql-admin@postgresql.org
Subject: Re: tsearch2 installation problem
Date: Mon, 17 Apr 2006 17:06:46 +0500
Message-ID: <bf54be870604170506t64078ecfgd7e9694d30b71141@mail.gmail.com> (raw)
In-Reply-To: <1145261769.398138.200480@t31g2000cwb.googlegroups.com>
References: <1145261769.398138.200480@t31g2000cwb.googlegroups.com>
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
>
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: shoaibmir@gmail.com
Subject: Re: tsearch2 installation problem
In-Reply-To: <bf54be870604170506t64078ecfgd7e9694d30b71141@mail.gmail.com>
References: <1145261769.398138.200480@t31g2000cwb.googlegroups.com> <bf54be870604170506t64078ecfgd7e9694d30b71141@mail.gmail.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