Thread: tsearch2 installation problem

tsearch2 installation problem

From
"Sam"
Date:
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