[Pgpool-committers] linking issue in pgpool

Sanjay Rao srao at noida.interrasystems.com
Fri Jul 15 16:22:11 UTC 2011


Hi,

I have recently faced a linking issue while building pgpool on my system.

/.libs/libpcp.so -lresolv -lnsl -lm  -Wl,--rpath -Wl,/opt/pgpoolII/lib 
-Wl,--rpath -Wl,/usr/local/pgsql/lib
/usr/bin/ld: child.o: undefined reference to symbol 'crypt@@GLIBC_2.0'
/usr/bin/ld: note: 'crypt@@GLIBC_2.0' is defined in DSO 
/lib/libcrypt.so.1 so try adding it to the linker command line
/lib/libcrypt.so.1: could not read symbols: Invalid operation

I changed the below line from

pgpool_LDADD = -L/usr/local/pgsql/lib -lpq parser/libsql-parser.a 
pcp/libpcp.la parser/nodes.o

to pgpool_LDADD = -L/usr/local/pgsql/lib -lpq parser/libsql-parser.a 
pcp/libpcp.la */lib/libcrypt.so.1* parser/nodes.o

and it worked for me.

Please incorporate the required changes in next release.

Thanks & Regards,
Sanjay Rao




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://pgfoundry.org/pipermail/pgpool-committers/attachments/20110715/0be424f2/attachment.html>


More information about the Pgpool-committers mailing list