pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Wei Weng <wweng@kencast.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-sql@postgresql.org
Subject: Re: tsearch2 question
Date: Fri, 26 Sep 2003 11:12:39 -0400 (EDT)
Message-ID: <Pine.LNX.4.56.0309261109320.30346@localhost.localdomain> (raw)
In-Reply-To: <15816.1064588853@sss.pgh.pa.us>
References: <Pine.LNX.4.56.0309251610280.19659@localhost.localdomain>
	<5912.1064536486@sss.pgh.pa.us>
	<Pine.LNX.4.56.0309261035270.28433@localhost.localdomain>
	<15816.1064588853@sss.pgh.pa.us>

When I run psql < tsearch2.sql, is psql going to substitute $libdir 
internally with what $libdir really is (in my case, it would be 
/usr/lib/pgsql)? 

Thanks

Wei


On Fri, 26 Sep 2003, Tom Lane wrote:

> Wei Weng <wweng@kencast.com> writes:
> > But then when I do a psql < tsearch2.sql, it complains:
> > bash-2.05a$ psql testdb < tsearch2.sql 
> > ERROR:  stat failed on file '$libdir/tsearch2': No such file or directory
> > Where did I do wrong??
> 
> Did you do "make install" after building tsearch2?
> 
> If you did, maybe it installed tsearch2.so in the wrong place?
> ("pg_config --pkglibdir" will tell you what the backend thinks
> "$libdir" means.)
> 
> 			regards, tom lane
> 



view thread (7+ messages)  latest in thread

Message-ID: <Pine.LNX.4.56.0309261109320.30346@localhost.localdomain>
Permalink:  ../Pine.LNX.4.56.0309261109320.30346@localhost.localdomain/
Also on:    postgresql.org/message-id/Pine.LNX.4.56.0309261109320.30346@localhost.localdomain

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: wweng@kencast.com, tgl@sss.pgh.pa.us
  Subject: Re: tsearch2 question
  In-Reply-To: <Pine.LNX.4.56.0309261109320.30346@localhost.localdomain>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox