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

deferraz deferraz at terra.com.br
Tue Jul 1 22:52:54 UTC 2008


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



More information about the Pgpool-general mailing list