[pgpool-general: 6823] Re: pgpool_recovery extension problem

Bo Peng pengbo at sraoss.co.jp
Wed Jan 22 17:34:00 JST 2020


Hello,

On Tue, 21 Jan 2020 12:57:44 +0000
Domen Šetar <domen.setar at izum.si> wrote:

> Hi,
> 
>  
> 
> I try to install pgpool-II 4.1.0 and Postgresl-12 on Centos 7.7 servers.
> 
> During configuration I get a message:
> 
>  
> 
> -bash-4.2$ psql template1 -c "CREATE EXTENSION pgpool_recovery" -p 5433
> 
> ERROR:  could not open extension control file
> "/usr/pgsql-12/share/extension/pgpool_recovery.control": No such file or
> directory
> 
>  
> 
> I noticed that pgpool install pgpool-recovery environment under
> /usr/pgsql-11/ directory and not under /usr/pgsql-12 directory. Also
> pgpool-recovery.so is for Postgresql 11 version.

You need to specify the PostgreSQL's path.

For example,
If PostgreSQL is installed under "/usr/pgsql-12", 
you need to specify the path by "configure" like,

  # ./configure --with-pgsql=/usr/pgsql-12

Then, pgpool-recovery will be install under PostgreSQL 12.

  # cd src/sql
  # make && make install
 
> How can I solve this problem?
> 
>  
> 
> Best regards!
> 
> 
> 
> 
> Domen Šetar
> Computer Systems Support
> IZUM - Institute of Information Science | Prešernova ulica 17 | 2000 Maribor
> | Slovenia
> T: +386 2 25 20 339 | M: +386 41 676 342 |  <http://www.izum.si/>
> www.izum.si |  <mailto:domen.setar at izum.si> domen.setar at izum.si
> 
>  
> 
>  
> 


-- 
Bo Peng <pengbo at sraoss.co.jp>
SRA OSS, Inc. Japan


More information about the pgpool-general mailing list