Re: perl path issue - Mailing list pgsql-general

From Adrian Klaver
Subject Re: perl path issue
Date
Msg-id e428c50b-aac0-3f6c-72ed-a6360f8e526e@aklaver.com
Whole thread Raw
In response to Re: perl path issue  (Prakash Ramakrishnan <prakash.ramakrishnan.ap@nielsen.com>)
Responses Re: perl path issue
List pgsql-general
On 5/13/19 2:20 AM, Prakash Ramakrishnan wrote:
> Hi Adrian,
> 
> Yes am using edb standard edition and installed pgbackrest in prod and dev.

To be clear your have on the prod server:

1) Postgres installed via EDB installer.

2) You have pgBackRest.

3) You can take a backup using pgBackRest from the Postgres server.


If that is the case how did you install pgBackRest on the prod server?

In other words what is different between the prod and dev setups of 
Postgres and pgBackRest?

> 
> nothing different am trying to restore the backup prod to dev cluster .
> 
> * Can't load '/usr/lib64/perl5/vendor_perl/auto/DBD/Pg/Pg.so' for module 
> DBD::Pg: libpq.so.5: cannot open shared object file: No such file or 
> directory at /usr/lib64/perl5/DynaLoader.pm line 190.*
>          at /loader/0x1ec1528/pgBackRest/Db.pm line 10.
>          at /loader/0x1ec1528/pgBackRest/Main.pm line 12.
>          pgBackRest::Main::__ANON__('Can\'t load 
> \'/usr/lib64/perl5/vendor_perl/auto/DBD/Pg/Pg.so\...') called at 
> /usr/share/perl5/vendor_perl/Carp.pm line 100
> 
> May be above path is corrupt or something issue not able to load the path.
> 
> Regards,
> Prakash.R
> 


-- 
Adrian Klaver
adrian.klaver@aklaver.com



pgsql-general by date:

Previous
From: AYahorau@ibagroup.eu
Date:
Subject: terminating walsender process due to replication timeout
Next
From: Prakash Ramakrishnan
Date:
Subject: Re: perl path issue