Re: lpgport issue while installing pg_bulkload utility on fedora 14 OS

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: lpgport issue while installing pg_bulkload utility on fedora 14 OS
Date: 2014-04-14 13:40:15
Message-ID: 534BE53F.8090606@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 04/14/2014 06:21 AM, chiru r wrote:
> Hi,
>
> I am facing below *-lpgport *issue while installing pg_bulkload utility
> on fedora 14 OS.
>
> Details:
>
> *OS* : *Fedora 14*
>
> Linux localhost.localdomain 2.6.35.6-45.fc14.x86_64 #1 SMP Mon Oct 18
> 23:57:44 UTC 2010 x86_64 x86_64 x86_64 GNU/Linux
>
> *PG* : PostgreSQL 8.4.9
>
> *pg_bulkload* 3.1.4
>
> [root(at)localhost pg_bulkload-3.1.4]# make
>
> make[1]: Entering directory `/home/postgres/pg_bulkload-3.1.4/bin'
>
> gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
> -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic
> -DLINUX_OOM_ADJ=0 -Wall -Wmissing-prototypes -Wpointer-arith
> -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing
> -fwrapv pg_bulkload.o recovery.o pgut/pgut.o pgut/pgut-fe.o
> pgut/pgut-list.o -L/usr/lib64 -lpq -L/usr/lib64 -Wl,--as-needed -lpgport
> -lpam -lssl -lcrypto -lkrb5 -lcom_err -lgssapi_krb5 -lz -lreadline
> -lcrypt -ldl -lm -o pg_bulkload
>
> */usr/bin/ld: cannot find -lpgport*
>
> collect2: ld returned 1 exit status
>
> make[1]: *** [pg_bulkload] Error 1
>
> make[1]: Leaving directory `/home/postgres/pg_bulkload-3.1.4/bin'
>
> make: *** [all] Error 2
>
> [root(at)localhost pg_bulkload-3.1.4]#
>
>
> Please share your experience on this issue.

Just what the docs say:

http://pgbulkload.projects.pgfoundry.org/pg_bulkload.html#install

$ cd pg_bulkload
$ make USE_PGXS=1
$ su
$ make USE_PGXS=1 install

>
> --Chiru
>
>

--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message chiru r 2014-04-14 14:21:38 Re: lpgport issue while installing pg_bulkload utility on fedora 14 OS
Previous Message Moshe Jacobson 2014-04-14 13:37:54 Re: CentOS 6 and Postgresql 9.3.4 from PGDG