[pgpool-general: 2312] Re: pgpool-recovery.so ; relocation error; referenced symbol not found

Nozomi Anzai anzai at sraoss.co.jp
Fri Nov 29 16:03:34 JST 2013


Hi,

Could you try after adding the library path to PostgresQL into ld.so.conf?

ex.)
# vi /etc/ld.so.conf
include ld.so.conf.d/*.conf
/postgres/9.1-pgdg/lib

# /sbin/ldconfig

> Hi Gentlemen, 
> I am trying to execute the pgpool-recovery.sql but being prompted below could not load lib pgpool-recovery.so error. 
> Can you please help me to address this? 
> 
> 
> 
> bash-3.2$ psql -f ./pgpool-recovery.sql template1 psql:./pgpool-recovery.sql:4: ERROR:  could not load library "/postgres/9.1-pgdg/lib/pgpool-recovery.so": ld.so.1: postgres: fatal: relocation error: file /postgres/9.1-pgdg/lib/pgpool-recovery.so: symbol DirectFunctionCall1: referenced symbol not found
> psql:./pgpool-recovery.sql:9: ERROR:  could not load library "/postgres/9.1-pgdg/lib/pgpool-recovery.so": ld.so.1: postgres: fatal: relocation error: file /postgres/9.1-pgdg/lib/pgpool-recovery.so: symbol DirectFunctionCall1: referenced symbol not found
> psql:./pgpool-recovery.sql:14: ERROR:  could not load library "/postgres/9.1-pgdg/lib/pgpool-recovery.so": ld.so.1: postgres: fatal: relocation error: file /postgres/9.1-pgdg/lib/pgpool-recovery.so: symbol DirectFunctionCall1: referenced symbol not found
> 
> 
> bash-3.2$ ldd -d pgpool-recovery.so
>        symbol not found: textout               (./pgpool-recovery.so)
>        symbol not found: textin                (./pgpool-recovery.so)
>        symbol not found: DataDir               (./pgpool-recovery.so)
>        symbol not found: InterruptPending              (./pgpool-recovery.so)
> 
> 
> Thanks very much in advance! 
> Regards, 
> Ethan
> _______________________________________________
> pgpool-general mailing list
> pgpool-general ¡÷ pgpool.net
> http://www.pgpool.net/mailman/listinfo/pgpool-general


-- 
Nozomi Anzai
SRA OSS, Inc. Japan


More information about the pgpool-general mailing list