From: PG Bug reporting form <noreply@postgresql.org>
To: pgsql-bugs@lists.postgresql.org
Cc: prakash.ramakrishnan.ap@nielsen.com
Subject: BUG #15424: usr/bin/ld: skipping incompatible /opt/PostgreSQL/9.6/lib/libecpg.so when searching for -lecpg
Date: Mon, 08 Oct 2018 12:53:22 +0000
Message-ID: <15424-80feaa2ad38f56f4@postgresql.org> (raw)
The following bug has been logged on the website:
Bug reference: 15424
Logged by: ramakrishnan r
Email address: prakash.ramakrishnan.ap@nielsen.com
PostgreSQL version: 9.6.3
Operating system: RHAT 7.3
Description:
Hi Postgres Team,
We are facing incompatible issues with ECPG and PQ library files while
compiling the code. Currently, we are building the 32-bit application on the
64-bit Linux machine.
Error:
/usr/bin/ld: skipping incompatible /opt/PostgreSQL/9.6/lib/libecpg.so when
searching for -lecpg
/usr/bin/ld: skipping incompatible /opt/PostgreSQL/9.6/lib/libecpg.a when
searching for -lecpg
/usr/bin/ld: cannot find -lecpg
/usr/bin/ld: skipping incompatible /opt/PostgreSQL/9.6/lib/libpq.so when
searching for -lpq
/usr/bin/ld: skipping incompatible /opt/PostgreSQL/9.6/lib/libpq.a when
searching for -lpq
/usr/bin/ld: cannot find -lpq
Linux Configuration:
Linux lhrrheteld002 3.10.0-693.11.1.el7.x86_64 #1 SMP Fri Oct 27 05:39:05
EDT 2017 x86_64 x86_64 x86_64 GNU/Linux
Postgres version on lhrrheteld002:
psql.bin (9.6.3)
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-bugs@postgresql.org
Cc: noreply@postgresql.org, prakash.ramakrishnan.ap@nielsen.com
Subject: Re: BUG #15424: usr/bin/ld: skipping incompatible /opt/PostgreSQL/9.6/lib/libecpg.so when searching for -lecpg
In-Reply-To: <15424-80feaa2ad38f56f4@postgresql.org>
References: <15424-80feaa2ad38f56f4@postgresql.org>
* 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