Re: can't start tsearch2 in 8.2.4

From: judexhuang(at)gmail(dot)com
To: pgsql-general(at)postgresql(dot)org
Subject: Re: can't start tsearch2 in 8.2.4
Date: 2007-04-22 03:39:50
Message-ID: 1177213190.291022.39730@d57g2000hsg.googlegroups.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Apr 20, 11:38 pm, judexhu(dot)(dot)(dot)(at)gmail(dot)com wrote:
> When I try to initiate tsearch2 in 8.2.4, I got the following error.
>
> $ psql emedia_db < tsearch2.sql
> SET
> BEGIN
> NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index
> "pg_ts_dict_pkey" for table "pg_ts_dict"
> CREATE TABLE
> ERROR: incompatible library "/usr/local/pgsql/lib/tsearch2.so":
> missing magic block
>
> ..................
>
> Does anyone know if there is a fix available?
>
> Thanks

I have seen discussion about adding PG_MODULE_MAGIC to .c or .h code.
Does anyone have suggestion about where I should add this to tsearch2
code, and how should I rebuild tsearch2 with this?

Thanks.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Joshua D. Drake 2007-04-22 04:14:15 Re: ERROR: Failed to build any 5-way joins
Previous Message Steve Atkins 2007-04-22 03:36:34 Re: ERROR: Failed to build any 5-way joins