[pgpool-general: 2041] Re: libpq not found - compilation

Mistina Michal Michal.Mistina at virte.sk
Fri Aug 16 05:00:13 JST 2013


Hi.

Ok, I get it now.

There is an option for ./configure .

[root at pcmk01 pgpool-II-3.3.0]# ./configure --with-pgsql=/usr/pgsql-9.2/

 

 

Best regards,

Michal Mistina

 

From: pgpool-general-bounces at pgpool.net
[mailto:pgpool-general-bounces at pgpool.net] On Behalf Of Mistina Michal
Sent: Thursday, August 15, 2013 9:01 PM
To: pgpool-general at pgpool.net
Subject: [pgpool-general: 2040] libpq not found - compilation

 

Hi there.

I'm trying to compile pgpool source on red hat 6.3. I read in the manual the
libpq is required for running compilation. It should be provided in the
postgres-libs package.

I have deployed postgresql92-libs-9.2.4-1PGDG.rhel6.x86_64.

When I search in the system for libqp it is found. 

Why the ./configure command does not recognize the library is available on
the filesystem? Shouldn't it be libpq.so.5?

 

I am trying to build pgpool-II from the latest stable release - pgpool-II
3.3.0.

 

Packages installed:

[root at pcmk01 pgpool-II-3.3.0]# rpm -qa | grep postgres

postgresql92-9.2.4-1PGDG.rhel6.x86_64

postgresql92-libs-9.2.4-1PGDG.rhel6.x86_64

postgresql92-server-9.2.4-1PGDG.rhel6.x86_64

postgresql92-contrib-9.2.4-1PGDG.rhel6.x86_64

postgresql92-devel-9.2.4-1PGDG.rhel6.x86_64

 

Searching for libpq.

[root at pcmk01 pgpool-II-3.3.0]# find / -name '*libpq*'

/usr/include/pqxx/internal/libpq-forward.hxx

/usr/pgsql-9.2/lib/libpq.so

/usr/pgsql-9.2/lib/libpq.a

/usr/pgsql-9.2/lib/libpq.so.5.5

/usr/pgsql-9.2/lib/libpq.so.5

/usr/pgsql-9.2/lib/libpqwalreceiver.so

/usr/pgsql-9.2/include/libpq-events.h

/usr/pgsql-9.2/include/libpq-fe.h

/usr/pgsql-9.2/include/internal/libpq-int.h

/usr/pgsql-9.2/include/internal/libpq

/usr/pgsql-9.2/include/server/libpq

/usr/pgsql-9.2/include/server/libpq/libpq-be.h

/usr/pgsql-9.2/include/server/libpq/libpq.h

/usr/pgsql-9.2/include/server/libpq/libpq-fs.h

/usr/pgsql-9.2/include/libpq

/usr/pgsql-9.2/include/libpq/libpq-fs.h

/usr/pgsql-9.2/share/locale/tr/LC_MESSAGES/libpq5-9.2.mo

/usr/pgsql-9.2/share/locale/de/LC_MESSAGES/libpq5-9.2.mo

/usr/pgsql-9.2/share/locale/pt_BR/LC_MESSAGES/libpq5-9.2.mo

/usr/pgsql-9.2/share/locale/cs/LC_MESSAGES/libpq5-9.2.mo

/usr/pgsql-9.2/share/locale/es/LC_MESSAGES/libpq5-9.2.mo

/usr/pgsql-9.2/share/locale/it/LC_MESSAGES/libpq5-9.2.mo

/usr/pgsql-9.2/share/locale/zh_TW/LC_MESSAGES/libpq5-9.2.mo

/usr/pgsql-9.2/share/locale/pl/LC_MESSAGES/libpq5-9.2.mo

/usr/pgsql-9.2/share/locale/ja/LC_MESSAGES/libpq5-9.2.mo

/usr/pgsql-9.2/share/locale/fr/LC_MESSAGES/libpq5-9.2.mo

/usr/pgsql-9.2/share/locale/ru/LC_MESSAGES/libpq5-9.2.mo

/usr/pgsql-9.2/share/locale/zh_CN/LC_MESSAGES/libpq5-9.2.mo

/usr/share/doc/libpqxx-4.0

/usr/share/doc/libpqxx-devel-4.0

/usr/lib64/pkgconfig/libpqxx.pc

/usr/lib64/libpqxx.so

/usr/lib64/libpqxx-4.0.so

/root/libpqxx-devel-4.0-0.1.rhel6.x86_64.rpm

 

 

Best regards,

Michal Mistina

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.sraoss.jp/pipermail/pgpool-general/attachments/20130815/6cd928b7/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3076 bytes
Desc: not available
URL: <http://www.sraoss.jp/pipermail/pgpool-general/attachments/20130815/6cd928b7/attachment.p7s>


More information about the pgpool-general mailing list