Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hQ7nQ-00083G-1L for pgsql-general@arkaria.postgresql.org; Mon, 13 May 2019 10:03:00 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hQ7nO-00089L-FC for pgsql-general@arkaria.postgresql.org; Mon, 13 May 2019 10:02:58 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hQ7nO-00089E-1s for pgsql-general@lists.postgresql.org; Mon, 13 May 2019 10:02:58 +0000 Received: from hermes.gatewaynet.com ([193.92.121.98]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hQ7nG-0001Uk-7p for pgsql-general@lists.postgresql.org; Mon, 13 May 2019 10:02:56 +0000 Received: from smadev.internal.net (pc131.internal.net [10.9.200.131]) by hermes.gatewaynet.com (8.15.2/8.15.2/Debian-8) with ESMTPS id x4DA2eUa007462 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 13 May 2019 13:02:45 +0300 Received: from smadev.internal.net (smadev [10.9.200.131]) by smadev.internal.net (8.15.2/8.15.2) with ESMTP id x4DA2eJw064197 for ; Mon, 13 May 2019 13:02:40 +0300 (EEST) (envelope-from achill@matrix.gatewaynet.com) Subject: Re: perl path issue To: pgsql-general@lists.postgresql.org References: <45abfa02-2cfd-b05c-f54e-41a770bbc4ea@aklaver.com> <2ae6795e-cc9a-83c8-3e7f-a8ce6eba6a28@aklaver.com> <58271ac5-78bb-cc8b-c034-ed7303b326e4@aklaver.com> <1e51499e-a684-66d8-b69e-0fa8777ab300@aklaver.com> <805b87a3-9849-7366-2e38-7dc63c8123c2@aklaver.com> <1713164111.3295297.1557740190766@mail.yahoo.com> <1567273385.3302846.1557741037658@mail.yahoo.com> From: Achilleas Mantzios Message-ID: Date: Mon, 13 May 2019 13:02:40 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.3.2 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/alternative; boundary="------------3D1610C5FD0A49251EA74145" Content-Language: en-US X-Virus-Scanned: clamav-milter 0.100.3 at hermes X-Virus-Status: Clean X-Spam-Status: No, score=-28.0 required=5.0 tests=ALL_TRUSTED,DYN_HAM_COORD, DYN_HAM_IT,DYN_HAM_NAUTICAL,HTML_MESSAGE autolearn=unavailable autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on hermes.gatewaynet.com List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk This is a multi-part message in MIME format. --------------3D1610C5FD0A49251EA74145 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit On 13/5/19 12:54 μ.μ., Prakash Ramakrishnan wrote: > Hi Ravi, > > Please find the below details, what does : # ldd /usr/lib64/perl5/vendor_perl/auto/DBD/Pg/Pg.so say? > > Dev: > > ==> echo $LD_LIBRARY_PATH > /usr/lib/perl5/5.10.0/i386-linux-thread-multi/CORE:/opt/rh/rh-perl526/root/usr/lib64:/usr/lib64/perl5/CORE:/opt/edb/languagepack-10/Perl-5.24/lib/CORE > postgres@sydcosausd001.enterprisenet.org:/home/postgres > > > Prod: > ========== > > ==> echo $LD_LIBRARY_PATH > /usr/lib64/perl5/CORE:/opt/app/PostgreSQL/10/lib:/opt/edb/languagepack-10/Perl-5.24/lib/CORE:/opt/app/PostgreSQL/10/lib > postgres@sydcosafpp001.enterprisenet.org:/home/postgres > > > > > On Mon, May 13, 2019 at 3:20 PM Ravi Krishna > wrote: > > > and perl DBD also installed but it cant load that is the issue please advise me. > > what is the output of LD_LIBRARY_PATH on both dev and prod > > > > -- > > > > Thanks, > Prakash.R > PostgreSQL - Offshore DBA support TCS / Nielsen Infrastructure Team On call : +91-8939599426 -- Achilleas Mantzios IT DEV Lead IT DEPT Dynacom Tankers Mgmt --------------3D1610C5FD0A49251EA74145 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit
On 13/5/19 12:54 μ.μ., Prakash Ramakrishnan wrote:
Hi Ravi,

Please find the below details,

what does :
# ldd /usr/lib64/perl5/vendor_perl/auto/DBD/Pg/Pg.so
say?


Dev:

==> echo $LD_LIBRARY_PATH
/usr/lib/perl5/5.10.0/i386-linux-thread-multi/CORE:/opt/rh/rh-perl526/root/usr/lib64:/usr/lib64/perl5/CORE:/opt/edb/languagepack-10/Perl-5.24/lib/CORE


Prod:
==========

==> echo $LD_LIBRARY_PATH
/usr/lib64/perl5/CORE:/opt/app/PostgreSQL/10/lib:/opt/edb/languagepack-10/Perl-5.24/lib/CORE:/opt/app/PostgreSQL/10/lib




On Mon, May 13, 2019 at 3:20 PM Ravi Krishna <ravi_krishna@aol.com> wrote:
> and perl DBD also installed but it cant load that is the issue please advise me.

what is the output of LD_LIBRARY_PATH on both dev and prod


--



Thanks,
Prakash.R
PostgreSQL - Offshore DBA support TCS / Nielsen Infrastructure Team On call : +91-8939599426


-- 
Achilleas Mantzios
IT DEV Lead
IT DEPT
Dynacom Tankers Mgmt
--------------3D1610C5FD0A49251EA74145--