[Freeswitch-users] configure fails to find libpq
Steven Ayre
steveayre at gmail.com
Thu Jun 13 20:20:51 MSD 2013
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 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.
-Steve
On Thursday, June 13, 2013, Claus Andersen wrote:
> On Thu, 13 Jun 2013, Steven Ayre wrote:
>
> Do you have libpq-dev installed? RPM systems probably call it something
>> different (postgresql-devel?)
>> libpq will just be the runtime libraries, you need the development files
>> to compile software against the library.
>>
>
> Hi,
>
> 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?
>
> postgresql92-devel
>
> $ rpm -ql postgresql92-devel | grep libpq
> /usr/pgsql-9.2/include/**internal/libpq
> /usr/pgsql-9.2/include/**internal/libpq-int.h
> /usr/pgsql-9.2/include/**internal/libpq/pqcomm.h
> /usr/pgsql-9.2/include/libpq
> /usr/pgsql-9.2/include/libpq-**events.h
> /usr/pgsql-9.2/include/libpq-**fe.h
> /usr/pgsql-9.2/include/libpq/**libpq-fs.h
> /usr/pgsql-9.2/include/server/**libpq
> /usr/pgsql-9.2/include/server/**libpq/auth.h
> /usr/pgsql-9.2/include/server/**libpq/be-fsstubs.h
> /usr/pgsql-9.2/include/server/**libpq/crypt.h
> /usr/pgsql-9.2/include/server/**libpq/hba.h
> /usr/pgsql-9.2/include/server/**libpq/ip.h
> /usr/pgsql-9.2/include/server/**libpq/libpq-be.h
> /usr/pgsql-9.2/include/server/**libpq/libpq-fs.h
> /usr/pgsql-9.2/include/server/**libpq/libpq.h
> /usr/pgsql-9.2/include/server/**libpq/md5.h
> /usr/pgsql-9.2/include/server/**libpq/pqcomm.h
> /usr/pgsql-9.2/include/server/**libpq/pqformat.h
> /usr/pgsql-9.2/include/server/**libpq/pqsignal.h
> /usr/pgsql-9.2/lib/libpq.a
> /usr/pgsql-9.2/lib/libpq.so
>
> Kind Regards,
> Claus Andersen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130613/8a32d7ef/attachment-0001.html
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list