>All these symbols are likely defined in the standard C++ library. >There is probably a missed link against stdc++. >Have you tried re-compiling postgresql forcing libstdc++ linkage ? strk is right. Sorry for my mail :( You have to configure postgresql with LDFLAGS=-lstdc++ ./configure YOURS_OPTIONS_FOR_POSTGRESQL