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

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: chiru r <chirupg(at)gmail(dot)com>
Cc: Forums postgresql <pgsql-general(at)postgresql(dot)org>
Subject: Re: lpgport issue while installing pg_bulkload utility on fedora 14 OS
Date: 2014-04-14 19:54:37
Message-ID: 534C3CFD.9080401@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 04/14/2014 07:56 AM, chiru r wrote:
> Okay,installed postgresql-devel.x86_64 package on fedora14 OS.
>
> Google blogs says it seems Fedora Postgresql-devel package not
> supported libpgport.
>
> _http://www.postgresql.org/message-id/4EE2338F.1040302@dunslane.net

The bigger issue is that the RedHat family discourages static libraries
in packages.

> _
>
> Is there any workaround.

Depends on your situation.

Is the server you are trying to build pg_bulkload a production server
that cannot be changed?

In other words is possible to build the server from source?

Failing that there is the part way there method. I am not sure how well
this would work, others may have comments on this.

1) Go here:
http://www.postgresql.org/ftp/source/

Find 8.4.9(FYI 8.4 is now up to release 8.4.21)

2) Do the make without the install in the source.

3) Find libpgport.a in ~/src/port/

4) Copy it to the Postgres library directory. Not sure where that is in
Fedora. Though a search for libpq.so should find it.

5) Cross fingers, retry build of pg_bulkloader.

>

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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message David G Johnston 2014-04-14 19:55:26 Re: Querying all documents for a company and its projects etc
Previous Message Andreas Joseph Krogh 2014-04-14 19:21:27 Querying all documents for a company and its projects etc