BUG #11696: C++ Linking issue - cant find ref to basic_tranaction - Mailing list pgsql-bugs

From colin@ska.ac.za
Subject BUG #11696: C++ Linking issue - cant find ref to basic_tranaction
Date
Msg-id 20141017061234.2506.15518@wrigleys.postgresql.org
Whole thread Raw
List pgsql-bugs
The following bug has been logged on the website:

Bug reference:      11696
Logged by:          Colin Attwell
Email address:      colin@ska.ac.za
PostgreSQL version: Unsupported/Unknown
Operating system:   Debian Linux "Squeeze"
Description:

Ver 8.4.21squeeze:

Invoking: GCC C++ Linker
g++ -L/usr/lib -o"DATA_LOGGER"  ./trunk/updateDB.o   -lpthread -lpqxx
./trunk/updateDB.o: In function `transaction':
/usr/include/pqxx/transaction.hxx:104: undefined reference to
`pqxx::basic_transaction::basic_transaction(pqxx::connection_base&,
std::basic_string<char, std::char_traits<char>, std::allocator<char> >
const&, pqxx::readwrite_policy)'
collect2: ld returned 1 exit status
make: *** [DATA_LOGGER] Error 1

Which other library should be included to find basic_transaction?

Thanks

pgsql-bugs by date:

Previous
From: Александр Глухов
Date:
Subject: ARMv5
Next
From: abhishekmvn@gmail.com
Date:
Subject: BUG #11702: Identity column error