pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
To: Prakash Ramakrishnan <prakash.ramakrishnan.ap@nielsen.com>
To: pgsql-generallists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re: pg_repack issue
Date: Wed, 5 Jun 2019 13:53:42 +0200
Message-ID: <e49aedae-93f1-ba57-2ca2-fb69be7fddac@2ndquadrant.com> (raw)
In-Reply-To: <CAA2eZXypbLcg7M3O09_D9gM1mf=WjcGd3PVhmkua4AQH_NF9kQ@mail.gmail.com>
References: <CAA2eZXypbLcg7M3O09_D9gM1mf=WjcGd3PVhmkua4AQH_NF9kQ@mail.gmail.com>

On 2019-06-05 12:48, Prakash Ramakrishnan wrote:
> 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 -lreadline
> collect2: error: ld returned 1 exit status
> make[1]: *** [pg_repack] Error 1
> make[1]: Leaving directory `/home/postgres/software/pg_repack-1.4.4/bin'
> make: *** [all] Error 2*

It's a bit bogus that pg_repack would require this, but perhaps
installing the readline-devel (or similar) package would get you past this.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services





view thread (7+ messages)  latest in thread

Message-ID: <e49aedae-93f1-ba57-2ca2-fb69be7fddac@2ndquadrant.com>
Permalink:  ../e49aedae-93f1-ba57-2ca2-fb69be7fddac@2ndquadrant.com/
Also on:    postgresql.org/message-id/e49aedae-93f1-ba57-2ca2-fb69be7fddac@2ndquadrant.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: peter.eisentraut@2ndquadrant.com, prakash.ramakrishnan.ap@nielsen.com
  Subject: Re: pg_repack issue
  In-Reply-To: <e49aedae-93f1-ba57-2ca2-fb69be7fddac@2ndquadrant.com>
  References: <CAA2eZXypbLcg7M3O09_D9gM1mf=WjcGd3PVhmkua4AQH_NF9kQ@mail.gmail.com> <e49aedae-93f1-ba57-2ca2-fb69be7fddac@2ndquadrant.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox