Hi, > > It looks like your .so isn't linked to libstdc++. How exactly did you > > compile and link the .so? I attached output of the "make -n". Regards, Zoli -- Zoltan Dudas Software Engineer SEI Hungary Office +36-52-889-532 Ext: 2032 Fax +36-52-889-599 Email zoltan.dudas@xxxxxx URL www.sei-it.com
sed 's,MODULE_PATHNAME,$libdir/proximity,g' proximity.sql.in >proximity.sql i686-pc-linux-gnu-gcc -O2 -mcpu=pentium4 -fomit-frame-pointer -funroll-loops -pipe -Wall -Wmissing-prototypes -Wpointer-arith -Wendif-labels -fno-strict-aliasing -fpic -I. -I/usr/include/postgresql/server -I/usr/include/postgresql/internal -D_GNU_SOURCE -c -o pg_prox.o pg_prox.c -MMD if test ! -d .deps; then mkdir .deps; fi cp pg_prox.d .deps/pg_prox.P sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\\$//' -e '/^$/ d' -e 's/$/ :/' < pg_prox.d >> .deps/pg_prox.P rm -f pg_prox.d g++ -I. -I/usr/include/postgresql/server -I/usr/include/postgresql/internal -D_GNU_SOURCE -c -o proximity.o proximity.cpp i686-pc-linux-gnu-gcc -O2 -mcpu=pentium4 -fomit-frame-pointer -funroll-loops -pipe -Wall -Wmissing-prototypes -Wpointer-arith -Wendif-labels -fno-strict-aliasing -fpic -I. -I/usr/include/postgresql/server -I/usr/include/postgresql/internal -D_GNU_SOURCE -c -o ../common/pg_utils.o ../common/pg_utils.c -MMD if test ! -d .deps; then mkdir .deps; fi cp ../common/pg_utils.d .deps/pg_utils.P sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\\$//' -e '/^$/ d' -e 's/$/ :/' < ../common/pg_utils.d >> .deps/pg_utils.P rm -f ../common/pg_utils.d ar crs libproximity.a pg_prox.o proximity.o ../common/pg_utils.o ranlib libproximity.a i686-pc-linux-gnu-gcc -O2 -mcpu=pentium4 -fomit-frame-pointer -funroll-loops -pipe -Wall -Wmissing-prototypes -Wpointer-arith -Wendif-labels -fno-strict-aliasing -fpic -shared -Wl,-soname,libproximity.so.0 pg_prox.o proximity.o ../common/pg_utils.o -L/usr/lib -Wl,-rpath,/usr/lib -o libproximity.so.0.0 rm -f libproximity.so.0 ln -s libproximity.so.0.0 libproximity.so.0 rm -f libproximity.so ln -s libproximity.so.0.0 libproximity.so
---------------------------(end of broadcast)--------------------------- TIP 2: Don't 'kill -9' the postmaster