Hi!
Working with gcc 4 on Mac OS X with the fink version of libpqxx (2.5.0)
contained in the packages postgresql80-unified-dev and
postgresql80-unified-shlibs I run into the following problem when trying
to link my small application the pqxx-relevant part of which is:
pqxx::connection con ("DNS");
pqxx::work trans (con, "testtrans");
pqxx::result entry = trans.exec("SOME SELECT");
//evaluate result
The program compiles alright, but doesn't link with gcc 4:
-----------------
/usr/bin/ld: Undefined symbols:
typeinfo for pqxx::basic_transaction
collect2: ld returned 1 exit status
-----------------
Having only the pqxx::connection-line with the others commented out, the
program links OK, so the problem seems to be really with this one symbol.
All pointers to a solution would be highly appreciated. Thanks in advance!
Best regards,
Marc
_______________________________________________
Libpqxx-general mailing list
[email protected]
http://gborg.postgresql.org/mailman/listinfo/libpqxx-general