Re: tsearch2 on postgresql 7.3.4

From: Teodor Sigaev <teodor(at)sigaev(dot)ru>
To: psql-mail(at)freeuk(dot)com
Cc: Paul Thomas <paul(at)tmsl(dot)demon(dot)co(dot)uk>, "pgsql-general (at) postgresql (dot) org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: tsearch2 on postgresql 7.3.4
Date: 2003-08-06 13:54:28
Message-ID: 3F310894.4030009@sigaev.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Did you compile tsearch2 in contrib directory of pgsql's source tree which was
used for install postgresql?

Is postgresql istalled at /usr/local/pgsql ?

psql-mail(at)freeuk(dot)com wrote:
> The exact error is:
> Error: stat failed on file '$libdir/tsearch2': no such file or
> directory
>
> I have done make install.
>
> tsearch2.so is located at
> /usr/local/pgsql/lib/tsearch2.so
>
> which is the same directory as fti.so which works.
>
> still confused!
>
>
>>On 06/08/2003 10:43 psql-mail(at)freeuk(dot)com wrote:
>>
>>>I am trying to setup tsearch2 on postgresql 7.3.4 on a Redhat9
>
> system,
>
>>>installed from rpms.
>>>
>>>There seemed to be some files required for installation of tsearch
>>>missing so I downloaded the src bundle too.
>>>
>>>Tsearch2 then compiled ok but now the command:
>>>
>>>psql mydb < tsearch2.sql
>>>
>>>fails with a message along the lines of:
>>>unable to stat $libdir/tsearch2 no such file
>>>
>>>I read up on valena.com about what $libdir was, but there's no
>
> mention
>
>>>of how to find out what the value of $libdior is.
>>>
>>>how do i find out where $libdir is for the current install?
>>>
>>>what files do i need to move into $libdir directory to get tsearch2
>
> up
>
>>>and running?
>>>
>>>Thanks!
>>
>>
>>I just tried a make/make install using 7.3.3 sources. I think the
>
> problem
>
>>is that the make file copies the .so to /usr/lib/postgresql which
>
> might
>
>>not be in your lib path.
>>
>>HTH
>>
>
>

--
Teodor Sigaev E-mail: teodor(at)sigaev(dot)ru

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Jan Oksfeldt Jonasen 2003-08-06 14:06:12 Re: Error message: Ralation X does not have
Previous Message Wilson A. Galafassi Jr. 2003-08-06 13:50:38 Postgresql slow on XEON 2.4ghz/1gb ram