pg_repack issue

From: Prakash Ramakrishnan <prakash(dot)ramakrishnan(dot)ap(at)nielsen(dot)com>
To: "pgsql-generallists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: pg_repack issue
Date: 2019-06-05 10:48:02
Message-ID: CAA2eZXypbLcg7M3O09_D9gM1mf=WjcGd3PVhmkua4AQH_NF9kQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi Team,

While during the pg_repack installation getting below error please someone
help

postgres(at)brurhen001(dot)enterprisenet(dot)org:
/home/postgres/software/pg_repack-1.4.4
==> ll
total 16
drwx------. 3 postgres postgres 71 Oct 18 2018 bin
-rw-------. 1 postgres postgres 1662 Oct 18 2018 COPYRIGHT
drwx------. 2 postgres postgres 121 Oct 18 2018 doc
drwx------. 3 postgres postgres 139 Oct 18 2018 lib
-rw-------. 1 postgres postgres 1616 Oct 18 2018 Makefile
-rw-------. 1 postgres postgres 1285 Oct 18 2018 META.json
drwx------. 2 postgres postgres 219 Oct 18 2018 msvc
-rw-------. 1 postgres postgres 2201 Oct 18 2018 README.rst
drwx------. 4 postgres postgres 96 Oct 18 2018 regress
drwx------. 2 postgres postgres 54 Oct 18 2018 SPECS
postgres(at)brurhen001(dot)enterprisenet(dot)org:
/home/postgres/software/pg_repack-1.4.4
==> make
make[1]: Entering directory `/home/postgres/software/pg_repack-1.4.4/bin'
gcc -Wall -Wmissing-prototypes -Wpointer-arith
-Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute
-Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard
-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches
-m64 -mtune=generic -I/usr/pgsql-11/include -DREPACK_VERSION=1.4.4 -I. -I./
-I/usr/pgsql-11/include/server -I/usr/pgsql-11/include/internal
-D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include -c -o pg_repack.o
pg_repack.c
gcc -Wall -Wmissing-prototypes -Wpointer-arith
-Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute
-Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard
-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches
-m64 -mtune=generic -I/usr/pgsql-11/include -DREPACK_VERSION=1.4.4 -I. -I./
-I/usr/pgsql-11/include/server -I/usr/pgsql-11/include/internal
-D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include -c -o pgut/pgut.o
pgut/pgut.c
gcc -Wall -Wmissing-prototypes -Wpointer-arith
-Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute
-Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard
-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches
-m64 -mtune=generic -I/usr/pgsql-11/include -DREPACK_VERSION=1.4.4 -I. -I./
-I/usr/pgsql-11/include/server -I/usr/pgsql-11/include/internal
-D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include -c -o pgut/pgut-fe.o
pgut/pgut-fe.c
gcc -Wall -Wmissing-prototypes -Wpointer-arith
-Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute
-Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard
-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches
-m64 -mtune=generic pg_repack.o pgut/pgut.o pgut/pgut-fe.o
-L/usr/pgsql-11/lib -Wl,--as-needed -L/usr/lib64/llvm5.0/lib -L/usr/lib64
-Wl,--as-needed -Wl,-rpath,'/usr/pgsql-11/lib',--enable-new-dtags
-L/usr/pgsql-11/lib -lpq -L/usr/pgsql-11/lib -lpgcommon -lpgport -lpthread
-lssl -lcrypto -lz -lreadline -lrt -lcrypt -ldl -lm -o pg_repack

*/usr/bin/ld: cannot find -lreadlinecollect2: error: ld returned 1 exit
statusmake[1]: *** [pg_repack] Error 1make[1]: Leaving directory
`/home/postgres/software/pg_repack-1.4.4/bin'make: *** [all] Error 2*

-

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Dmitry Vasiliev 2019-06-05 11:14:43 Re: Long running query - connection and keepalives enabled but query not canceled
Previous Message Tomasz Ostrowski 2019-06-05 10:39:25 Re: Long running query - connection and keepalives enabled but query not canceled