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 <[EMAIL PROTECTED]> 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 > ---------------------------(end of broadcast)--------------------------- TIP 3: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to [EMAIL PROTECTED] so that your message can get through to the mailing list cleanly