Skip site navigation (1) Skip section navigation (2)

tsearch2 installation problem

From: "Sam" <sjohn4(at)uic(dot)edu>
To: <pgsql-novice(at)postgresql(dot)org>
Cc: <pgsql-general(at)postgresql(dot)org>
Subject: tsearch2 installation problem
Date: 2004-12-15 00:02:23
Message-ID: 000a01c4e239$5ae6b9a0$462cf880@CHP709X0120 (view raw or flat)
Thread:
Lists: pgsql-generalpgsql-novice
Hi, I have posgres7.4 installed on RedHat9. I downloaded and unzipped the tsearch2 module into posgressrcdir/contrib/tsearch2. gmake produced a  tsearch2.sql that had references to '$libdir' in them. If I try to use that (after successful gmake install) in a line like
                                psql ftstest < tsearch2.sql',

I get the error : stat failed.
I tried to fix this : I edited the tsearch2 Makefile and changed the line that had $$libdir to ${libdir}. Now when I do a gmake, I get a tsearch2.sql with references to the path where the tsearch library is (/usr/local/pgsql/lib/tsearch). But when I try the 
                psql ftstest < tsearch2.sql
again, I get errors like 'errorsec not found in tsearch2.so' or something like that.

Please help me out!

- Sam

pgsql-novice by date

Next:From: Keith WorthingtonDate: 2004-12-15 02:11:24
Subject: status variables
Previous:From: Martin AtukundaDate: 2004-12-14 22:18:03
Subject: Re: timestamps

pgsql-general by date

Next:From: Neil ConwayDate: 2004-12-15 00:33:49
Subject: Re: Performance differences 7.1 to 7.3
Previous:From: Dann CorbitDate: 2004-12-14 23:56:18
Subject: Re: Performance suggestions?

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group