Re: [PATCH] Add Makefile dep in bin/scripts for libpgport

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Phil Sorber <phil(at)omniti(dot)com>
Cc: PostgreSQL-development Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [PATCH] Add Makefile dep in bin/scripts for libpgport
Date: 2013-02-08 11:47:22
Message-ID: 1360324042.16969.0.camel@vanquo.pezone.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, 2013-01-23 at 12:36 -0500, Phil Sorber wrote:
> I get the following error when I try to compile just a specific binary
> in src/bin/scripts:
>
> gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith
> -Wdeclaration-after-statement -Wendif-labels
> -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing
> -fwrapv -fexcess-precision=standard reindexdb.o common.o dumputils.o
> kwlookup.o keywords.o -L../../../src/port -lpgport
> -L../../../src/interfaces/libpq -lpq -L../../../src/port
> -Wl,--as-needed -Wl,-rpath,'/usr/local/pgsql/lib',--enable-new-dtags
> -lpgport -lz -lreadline -lcrypt -ldl -lm -o reindexdb
> /usr/bin/ld: cannot find -lpgport
> /usr/bin/ld: cannot find -lpgport
> collect2: error: ld returned 1 exit status
> make: *** [reindexdb] Error 1
>
> It appears it is missing the libpgport dependency. Attached is a patch
> to correct that. This is not normally a problem because when building
> the whole tree libpgport is usually compiled already.

Committed.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Kohei KaiGai 2013-02-08 13:51:40 Re: sepgsql and materialized views
Previous Message Amit Kapila 2013-02-08 11:47:15 Re: Identity projection