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
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-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

Browse pgsql-general by date

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

Browse pgsql-novice by date

  From Date Subject
Next Message Keith Worthington 2004-12-15 02:11:24 status variables
Previous Message Martin Atukunda 2004-12-14 22:18:03 Re: timestamps