X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (neptune.hub.org [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 0C0B4D1D8A7 for ; Tue, 25 Nov 2003 01:53:38 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 01276-02 for ; Mon, 24 Nov 2003 21:53:10 -0400 (AST) Received: from redhotpenguin.com (c-67-169-146-13.client.comcast.net [67.169.146.13]) by svr1.postgresql.org (Postfix) with ESMTP id 4026AD1D8C5 for ; Mon, 24 Nov 2003 21:53:06 -0400 (AST) Received: (qmail 12468 invoked from network); 25 Nov 2003 01:53:07 -0000 Received: from localhost (HELO 127.0.0.1) (127.0.0.1) by localhost with SMTP; 25 Nov 2003 01:53:07 -0000 Received: from 127.0.0.1 (proxying for 67.169.146.13) (SquirrelMail authenticated user fred@redhotpenguin.com) by 127.0.0.1 with HTTP; Mon, 24 Nov 2003 17:53:07 -0800 (PST) Message-ID: <37630.127.0.0.1.1069725187.squirrel@127.0.0.1> In-Reply-To: <039d01c3b2e6$e1af7360$d51da143@amer.cisco.com> References: <34213.127.0.0.1.1069369938.squirrel@127.0.0.1> <039d01c3b2e6$e1af7360$d51da143@amer.cisco.com> Date: Mon, 24 Nov 2003 17:53:07 -0800 (PST) Subject: Re: Need your help (frustrating issue) From: fred@redhotpenguin.com To: sirath@cisco.com Cc: fred@redhotpenguin.com, "'Matt Davies'" , pgsql-admin@postgresql.org User-Agent: SquirrelMail/1.4.2-1.qvcs.1 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 Importance: Normal X-Virus-Scanned: by amavisd-new at postgresql.org X-Spam-Status: No, hits=2.7 tagged_above=0.0 required=5.0 tests=IN_REP_TO, MSG_ID_ADDED_BY_MTA_3, NO_REAL_NAME, PRIORITY_NO_NAME, QUOTED_EMAIL_TEXT, RCVD_IN_RFCI, REFERENCES, REPLY_WITH_QUOTES, USER_AGENT X-Spam-Level: ** X-Archive-Number: 200311/419 X-Sequence-Number: 11406 > Hi Fred/Matt, > I'm still stuck-up at the same issue > (/apps/systran/perl/lib/sun4-solaris/auto/DBD/Pg/Pg.so' for module > DBD::Pg: ld.so.1: /usr/local/bin/perl: fatal: libgcc_s.so.1: open > failed: No such file or directory at > /usr/local/perl5.6.1/lib/sun4-solaris/DynaLoader.pm line 206. > at (eval 1) line 3) . > > I did get the following mesg while deploying the POSTGRESQL server. > *** Cannot build PL/Perl because libperl is not a shared > library. > *** You might have to rebuild your Perl installation. Refer to > *** the documentation for details. > It will' be really great if you please let me know whether I'm facing > the issue coz libperl is not shared library? It looks like you'll need to rebuild perl with the shared library option enabled to enable it's use by PL/Perl. The first message references /usr/local/bin/perl so I'm assuming the superuser did a source install of 5.6.1 with the default options. I suggest you install perl from source in your /apps/systran/ directory and enable the option to build a shared libperl. Once you do that add /apps/systran/perl/bin to your PATH and open/refresh your shell. After you have this installed, type 'perl -V' and you should see /apps/systran/perl/... several times in the @INC array, and also the command 'which perl' should return /apps/systran/perl/bin/perl. Now re-install DBD::Pg - since you are using /apps/systran/perl/bin/perl you don't need to specify a prefix, it will be installed under the /apps/systran tree. This should take care of the DynaLoader error. Now build Postgres again and you should be all good - you have your own custom perl application and library that other system users won't accidentally squash. Here's a good reference link to getting your own perl apps/libraries installed. http://www.perl.com/pub/a/2002/04/10/mod_perl.html Feel free to bounce any perl installation questions at me off the list - this procedure should take care of the dependencies and get you going.