<div dir="ltr"><div dir="ltr"><div>Hi all,</div><div><br></div><div>I can&#39;t compile pgpool_adm (pgpool 4.0.0, but also with 4.0.1 I found the same error) on debian 9.5.</div><div>My server has postgresql 10.5 installed on a fresh new installation of debian.</div><div><br></div><div>Over the fresh machine I installed (after reading lot of guides) these packages:</div><div>sudo</div><div>make</div><div>gcc</div><div>libpq-dev</div><div>postgresql-10</div><div>postgresql-server-dev-10</div><div><br></div><div>My pgpool installation is on a different server.</div><div><br></div><div>but the make command fails as below (maybe I still miss some packages).</div><div>(With the same server I can successfully make pgpool-recovery)</div><div><br></div><div>Here the output:</div><div><div>root@debian-server:/home/user/Scaricati# cd pgpool-II-4.0.0</div><div>root@debian-server:/home/user/Scaricati/pgpool-II-4.0.0# cd src/sql/pgpool_adm/</div><div>root@debian-server:/home/user/Scaricati/pgpool-II-4.0.0/src/sql/pgpool_adm# make</div><div>gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -g -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fno-omit-frame-pointer -fPIC -I/usr/include/postgresql -I../../include/pcp -I. -I./ -I/usr/include/postgresql/10/server -I/usr/include/postgresql/internal  -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I/usr/include/libxml2  -I/usr/include/mit-krb5  -c -o pgpool_adm.o pgpool_adm.c</div><div>gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -g -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fno-omit-frame-pointer -fPIC -shared -o pgpool_adm.so pgpool_adm.o -L/usr/lib/x86_64-linux-gnu  -Wl,-z,relro -Wl,-z,now  -L/usr/lib/x86_64-linux-gnu/mit-krb5 -Wl,--as-needed  -L../../libs/pcp/.libs -lpcp -Wl,--as-needed -Wl,-rpath,&#39;/lib&#39;,--enable-new-dtags </div><div><font color="#ff0000">/usr/bin/ld: impossibile trovare -lpcp</font></div><div>collect2: error: ld returned 1 exit status</div><div><font color="#ff0000">/usr/lib/postgresql/10/lib/pgxs/src/makefiles/../../src/Makefile.shlib:292: set di istruzioni per l&#39;obiettivo &quot;pgpool_adm.so&quot; non riuscito</font></div><div><font color="#ff0000">make: *** [pgpool_adm.so] Errore 1</font></div></div><div><br></div><div>The error is (here the translation)</div><div><div><font color="#ff0000">/usr/bin/ld: impossible to find -lpcp</font></div><div>collect2: error: ld returned 1 exit status</div><div><font color="#ff0000">/usr/lib/postgresql/10/lib/pgxs/src/makefiles/../../src/Makefile.shlib:292: instruction set for the target &quot;pgpool_adm.so&quot; failed</font></div><div><font color="#ff0000">make: *** [pgpool_adm.so] Error 1</font></div></div><div><br></div>Thanks for any help!!<br clear="all"><div><div dir="ltr" class="gmail_signature"><div dir="ltr"><div dir="ltr"><div>Matteo M.</div><div><br></div></div></div></div></div></div></div>