Hello,<br><br>I'm trying to install an application that uses libpqxx-2.6.9 on a RHEL5.1 server, but I'm not having much luck. It seems like redhat has brought the Fedora problems reported in this thread:<br><br><a href="http://pgfoundry.org/pipermail/libpqxx-general/2007-September/000011.html">
http://pgfoundry.org/pipermail/libpqxx-general/2007-September/000011.html</a><br><br>To their enterprise distribution. Since redhat doesn't provide any pre-built libpqxx packages, I need to compile and install it myself, but when linking to an application (for example, doing a 'make check'), I get this error:
<br><br>test001.o: In function `pqxx::internal::PQAlloc<pqxx::internal::result_data>::freemem()': /root/downloads/libpqxx-2.6.9/test/../include/pqxx/result.hxx:65: undefined reference to `pqxx::internal::freemem_result_data(pqxx::internal::result_data*)' /root/downloads/libpqxx-
2.6.9/test/../include/pqxx/result.hxx:65: undefined reference to `pqxx::internal::freemem_result_data(pqxx::internal::result_data*)'<br>collect2: ld returned 1 exit status<br><br>So, it looks like that function isn't defined.. but when looking at
result.o, I see this:<br><br>[root@solatis4 src]# objdump -t ./result.o | grep freemem_result_data<br>0000000000000f80 g F .text 000000000000002c .hidden _ZN4pqxx8internal19freemem_result_dataEPNS0_11result_dataE<br>
[root@solatis4 src]#<br><br>So, as far as i can see, there is a function defined there that matches the parameters, so I have *no* idea why the linking doesn't work. I tried building the latest trunk version of pqxx, but that doesn't compile.
<br> <br>Anyone has any suggestions on what to do, and/or how to fix this ?<br clear="all"><br>Thanks in advance!<br><br>Regards,<br><br>Leon Mergen