<div dir="ltr"><div>Hi, thanks for th reply.</div><div><br></div>I was unable to find postgresql-devel in package manager, so I installed this postgresql-devel-9.0.3-1.6.1.x86_64.rpm, so after "find / -type f -iname '*libpq*'" I find <div><div><br></div><div>/usr/include/pgsql/internal/libpq-int.h</div><div>/usr/include/pgsql/libpq/libpq-fs.h</div><div>/usr/include/pgsql/libpq-events.h</div><div>/usr/include/pgsql/libpq-fe.h</div><div>/usr/include/pgsql/server/libpq/libpq-fs.h</div><div>/usr/include/pgsql/server/libpq/libpq.h</div><div>/usr/include/pgsql/server/libpq/libpq-be.h</div><div>/usr/lib64/libpq.so.5.7</div></div><div><br></div><div>./configure --with-pgsql-libdir=/usr/lib64 --with-pgsql-includedir=/usr/include/pgsql/ without success.<br></div><div>Also, I noticed that pg_control version is different from postgreSQL which is 9.4.4.</div><div><br></div><div><div> # pg_config</div><div>BINDIR = /usr/bin</div><div>DOCDIR = /usr/share/doc/packages/postgresql</div><div>HTMLDIR = /usr/share/doc/packages/postgresql</div><div>INCLUDEDIR = /usr/include/pgsql</div><div>PKGINCLUDEDIR = /usr/include/pgsql</div><div>INCLUDEDIR-SERVER = /usr/include/pgsql/server</div><div>LIBDIR = /usr/lib64</div><div>PKGLIBDIR = /usr/lib64/postgresql</div><div>LOCALEDIR = /usr/share/locale</div><div>MANDIR = /usr/share/man</div><div>SHAREDIR = /usr/share/postgresql</div><div>SYSCONFDIR = /etc/postgresql</div><div>PGXS = /usr/lib64/postgresql/pgxs/src/makefiles/<a href="http://pgxs.mk">pgxs.mk</a></div><div>CONFIGURE = '--host=x86_64-unknown-linux-gnu' '--build=x86_64-unknown-linux-gnu' '--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib64' '--libexecdir=/usr/lib' '--localstatedir=/var' '--sharedstatedir=/usr/com' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--includedir=/usr/include/pgsql' '--datadir=/usr/share/postgresql' '--docdir=/usr/share/doc/packages' '--disable-rpath' '--enable-nls' '--enable-thread-safety' '--enable-integer-datetimes' '--without-readline' '--with-openssl' '--with-ldap' '--with-gssapi' '--with-libxml' '--with-libxslt' '--with-krb5' '--with-system-tzdata=/usr/share/zoneinfo' 'build_alias=x86_64-unknown-linux-gnu' 'host_alias=x86_64-unknown-linux-gnu' 'CFLAGS=-fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g '</div><div>CC = gcc</div><div>CPPFLAGS = -D_GNU_SOURCE -I/usr/include/libxml2</div><div>CFLAGS = -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g  -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv</div><div>CFLAGS_SL = -fpic</div><div>LDFLAGS = -Wl,--as-needed</div><div>LDFLAGS_EX =</div><div>LDFLAGS_SL =</div><div>LIBS = -lpgport -lxslt -lxml2 -lssl -lcrypto -lkrb5 -lcom_err -lgssapi_krb5 -lz -lcrypt -ldl -lm</div><div>VERSION = PostgreSQL 9.0.3</div></div><div><br></div><div><br></div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr">On Tue, Feb 9, 2016 at 9:53 AM Tatsuo Ishii <<a href="mailto:ishii@postgresql.org">ishii@postgresql.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">> I have PostgreSQL 9.4 installed on a SUSE-Linux-Enterprise-Server-11-SP4<br>
> 11.4.4-1.109 and now I am trying to configure pgpool II, I have downloaded<br>
> pgpool-II-3.5.0.tar.gz. When I run ./configure this message, according to<br>
> the tutorial I tried this:<br>
>  find / -type f -iname "*libpq*"<br>
> /usr/lib64/libpq.so.5.7<br>
> --<br>
> ./configure --with-pgsql-libdir=/usr/lib64/libpq.so.5.7<br>
> ./configure --with-pgsql-libdir=/usr/lib64/<br>
> ./configure --with-pgsql=/usr/lib64/<br>
> export LD_LIBRARY_PATH=/usr/lib64/<br>
> ./configure<br>
><br>
> I am still viewing this message. Any tip?<br>
> Thanks in advance.<br>
<br>
I am not familiar with SUSE packaging, but I guess you need libpq<br>
development package (header files) be installed.<br>
<br>
Also I wonder if you have pg_config command be installed and it's in<br>
your command search path. If yes, you should be able to run<br>
./configure without options to specify libpq location. If not, please<br>
try:<br>
<br>
./configure --with-pgsql-libdir=/usr/lib64 --with-pgsql-includedir=path-to-the-dir-where-libpq-fe.h-exists<br>
<br>
Best regards,<br>
--<br>
Tatsuo Ishii<br>
SRA OSS, Inc. Japan<br>
English: <a href="http://www.sraoss.co.jp/index_en.php" rel="noreferrer" target="_blank">http://www.sraoss.co.jp/index_en.php</a><br>
Japanese:<a href="http://www.sraoss.co.jp" rel="noreferrer" target="_blank">http://www.sraoss.co.jp</a><br>
</blockquote></div>