From: | colin(at)ska(dot)ac(dot)za |
---|---|
To: | pgsql-bugs(at)postgresql(dot)org |
Subject: | BUG #11696: C++ Linking issue - cant find ref to basic_tranaction |
Date: | 2014-10-17 06:12:34 |
Message-ID: | 20141017061234.2506.15518@wrigleys.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
The following bug has been logged on the website:
Bug reference: 11696
Logged by: Colin Attwell
Email address: colin(at)ska(dot)ac(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | jaime soler | 2014-10-17 09:15:29 | Re: BUG #11680: PostgreSQL JDBC Driver issue |
Previous Message | Noah Misch | 2014-10-17 05:36:48 | Re: BUG #10436: Can't compile 9.4 with this mingw64-w32 gcc 4.8.1, 4.8.2, 4.8.3 |