If I try to compile:

#include <pqxx/pqxx>
#include <iostream>

int main()
{
  std::cout << pqxx::sqlesc( "Hello World!" ) << std::endl;
  return 0;
}

I get "undefined reference to pqxx::sqlesc" errors.  However, if I rebuild 
libpqxx, this time remembering the --enable-shared flag, the above compiles 
with no problems.

I take it this is a bug, not a feature!

I'm using libpqxx-2.5.5.

-- 
Kevin Anthoney
[EMAIL PROTECTED]
_______________________________________________
Libpqxx-general mailing list
[email protected]
http://gborg.postgresql.org/mailman/listinfo/libpqxx-general

Reply via email to