Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 1110CB5DC40 for ; Wed, 13 Jul 2011 04:25:45 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 35338-07 for ; Wed, 13 Jul 2011 07:25:38 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from sam.nabble.com (sam.nabble.com [216.139.236.26]) by mail.postgresql.org (Postfix) with ESMTP id A4A3AB5DC3E for ; Wed, 13 Jul 2011 04:25:38 -0300 (ADT) Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1QgtpB-0005Yu-IK for pgsql-admin@postgresql.org; Wed, 13 Jul 2011 00:25:37 -0700 Date: Wed, 13 Jul 2011 00:25:37 -0700 (PDT) From: saravanan To: pgsql-admin@postgresql.org Message-ID: <1310541937561-4581840.post@n5.nabble.com> In-Reply-To: <10783.1310476776@sss.pgh.pa.us> References: <1310475278308-4578769.post@n5.nabble.com> <10783.1310476776@sss.pgh.pa.us> Subject: Re: Importing the dump file in postgresql-7.4.23 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-0.767 tagged_above=-10 required=5 tests=BAYES_00=-1.9, FREEMAIL_FROM=0.001, T_TO_NO_BRKTS_FREEMAIL=0.01, URI_HEX=1.122 X-Spam-Level: X-Archive-Number: 201107/79 X-Sequence-Number: 37858 Tom Lane-2, Thanks for your reply. This is my first error Initially i got error *plpgsql.so file missing*, then created symbolic link for /usr/local/pgsql/lib from /usr/lib/postgresql/lib First error checks for plpgsql.so files in /usr/lib/postgresql/lib. So i created symblink. Second error looks for $libdir/ltree. But there is no such libdir environment variable in .bash_profile. Notice: type 'ltree' is not yet defined *Error : could not access file "$libdir/ltree": no such file or directory* [postgres@oracle bin]$ pg_config --libdir /usr/local/pgsql/lib [postgres@oracle bin]$ pg_config --pkglibdir /usr/local/pgsql/lib But i have ltree directory in the following path I have all the file here like tsearch2 and ltree. How can i map this dir to libdir? [postgres@oracle contrib]$ pwd /usr/local/src/postgresql-7.4.23/contrib I set environment variables in .bash_profile LD_LIBRARY_PATH=/usr/local/pgsql/lib export LD_LIBRARY_PATH PATH=/usr/local/pgsql/bin:$PATH export PATH MANPATH=/usr/local/pgsql/man:$MANPATH export MANPATH All my library files are in /usr/local/pgsql/lib All my tsearch2,ltree files are in /usr/local/src/postgresql-7.4.23/contrib Any help would be appreciated Thanks!!! -- View this message in context: http://postgresql.1045698.n5.nabble.com/Importing-the-dump-file-in-postgresql-7-4-23-tp4578769p4581840.html Sent from the PostgreSQL - admin mailing list archive at Nabble.com.