To answer your question of what the test is doing, it'll take the required flags/libs from pg_config (which it looks like it found) and then try compiling a tiny program linking to it to check if the library exists and when testing functions if that function is exported by that version of the library. Any compile error<span></span> means 'no'. That ac_ variable is checking if its 'set' which'd mean the test passed. Config.log will show all the tests being run and any error output for them.<div>
<br><div><div>-Steve</div><div><br></div><div><br><br>On Thursday, June 13, 2013, Claus Andersen wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Thu, 13 Jun 2013, Steven Ayre wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Do you have libpq-dev installed? RPM systems probably call it something different (postgresql-devel?)<br>
libpq will just be the runtime libraries, you need the development files to compile software against the library.<br>
</blockquote>
<br>
Hi,<br>
<br>
Uhm? Apart from what I have already listed? As I wrote I have already built other projects against this library. Am I missing something obvious?<br>
<br>
postgresql92-devel<br>
<br>
$ rpm -ql postgresql92-devel | grep libpq<br>
/usr/pgsql-9.2/include/<u></u>internal/libpq<br>
/usr/pgsql-9.2/include/<u></u>internal/libpq-int.h<br>
/usr/pgsql-9.2/include/<u></u>internal/libpq/pqcomm.h<br>
/usr/pgsql-9.2/include/libpq<br>
/usr/pgsql-9.2/include/libpq-<u></u>events.h<br>
/usr/pgsql-9.2/include/libpq-<u></u>fe.h<br>
/usr/pgsql-9.2/include/libpq/<u></u>libpq-fs.h<br>
/usr/pgsql-9.2/include/server/<u></u>libpq<br>
/usr/pgsql-9.2/include/server/<u></u>libpq/auth.h<br>
/usr/pgsql-9.2/include/server/<u></u>libpq/be-fsstubs.h<br>
/usr/pgsql-9.2/include/server/<u></u>libpq/crypt.h<br>
/usr/pgsql-9.2/include/server/<u></u>libpq/hba.h<br>
/usr/pgsql-9.2/include/server/<u></u>libpq/ip.h<br>
/usr/pgsql-9.2/include/server/<u></u>libpq/libpq-be.h<br>
/usr/pgsql-9.2/include/server/<u></u>libpq/libpq-fs.h<br>
/usr/pgsql-9.2/include/server/<u></u>libpq/libpq.h<br>
/usr/pgsql-9.2/include/server/<u></u>libpq/md5.h<br>
/usr/pgsql-9.2/include/server/<u></u>libpq/pqcomm.h<br>
/usr/pgsql-9.2/include/server/<u></u>libpq/pqformat.h<br>
/usr/pgsql-9.2/include/server/<u></u>libpq/pqsignal.h<br>
/usr/pgsql-9.2/lib/libpq.a<br>
/usr/pgsql-9.2/lib/libpq.so<br>
<br>
Kind Regards,<br>
Claus Andersen</blockquote></div></div></div>