Tom Lane wrote:
> Sebastien Lemieux <slemieux@elitra.com> writes:
>
>>Then I get:
>>ERROR: Can't find function add_one in file /[PathToTheObject]/pgsql_bio.so
>
>
> Hmm. I can't see anything wrong with what you did, either.
>
> It's possible that the dynamic linker has printed additional messages to
> the backend's stderr. Make sure that you have stderr set up to go
> someplace useful (not /dev/null) and look there to see if you can learn
> more.
most likely he has to declare the function as extern "C". A nm
pgsql_bio.so can tell more.
Christof