[Pgpool-general] Cannot load pgpool-recovery.so

Yoshiyuki Asaba y-asaba at sraoss.co.jp
Thu Jul 3 01:20:17 UTC 2008


Hi,

Could you try the following command?

  % pg_config --version

Regards,
--
Yoshiyuki Asaba
y-asaba at sraoss.co.jp


From: "deferraz" <deferraz at terra.com.br>
Subject: [Pgpool-general] Cannot load pgpool-recovery.so
Date: Tue,  1 Jul 2008 19:52:50 -0300

> Hi,
>      i'm trying to test the online recovery feat of pgpool-II but i'm having some problems to load the module.
>      i compile the shared lib and upload to my system, when i try to load the library it gives me this error: 
> 
> template1=# CREATE OR REPLACE FUNCTION pgpool_remote_start(text, text)
> template1-# RETURNS bool
> template1-# AS '/usr/lib64/pgpool-recovery.so', 'pgpool_remote_start'
> template1-# LANGUAGE C STRICT;
> ERROR:  incompatible library "/usr/lib64/pgpool-recovery.so": missing magic block
> HINT:  Extension libraries are required to use the PG_MODULE_MAGIC macro.
> 
>     Reasearching for this pg_module_magic macro i see that this is new since 8.2 series to validate the modules
> against the postgresql server . but i see in the source code that you guys already put this macro.
>      what i'm doing wrong ? i'm using postgresql 8.3.3 64bits
> 
> 
> Regards,
> Andre Ferraz
> 
> _______________________________________________
> Pgpool-general mailing list
> Pgpool-general at pgfoundry.org
> http://pgfoundry.org/mailman/listinfo/pgpool-general


More information about the Pgpool-general mailing list