From: PG Bug reporting form <noreply@postgresql.org>
To: pgsql-bugs@lists.postgresql.org
Cc: anilbommareddy09@gmail.com
Subject: BUG #17100: undefined reference to `pg_qsort and pq_xxx
Date: Mon, 12 Jul 2021 08:00:16 +0000
Message-ID: <17100-8838037599130224@postgresql.org> (raw)
The following bug has been logged on the website:
Bug reference: 17100
Logged by: [BuildError][GCC-10.2.x] undefined reference to `pg_qsort in PostrgreSQL
13.3
Email address: anilbommareddy09@gmail.com
PostgreSQL version: 13.3
Operating system: CentoS 8.3
Description:
export CC=gcc
export CXX=g++
Build command:
../configure --prefix=/path/to/pgsql-gcc CFLAGS='-O3 -flto' CXXFLAGS='-O3
-flto'
Error:
-----
<artificial>:(.text.startup+0xc19): undefined reference to `pg_qsort'
<artificial>:(.text.startup+0xe81): undefined reference to `pg_fprintf'
<artificial>:(.text.startup+0xea6): undefined reference to `pg_fprintf'
<artificial>:(.text.startup+0xecb): undefined reference to `pg_fprintf'
<artificial>:(.text.startup+0xef0): undefined reference to `pg_fprintf
I checked that I have these packages installed on the system
[root@xxx ~]# yum install postgresql-devel
Followed the steps as :https://github.com/brianc/node-postgres/issues/124
it not helped to resolve the issue.
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 using the --to and --cc options:
reply via email
To: pgsql-bugs@postgresql.org
Cc: noreply@postgresql.org, pgsql-bugs@lists.postgresql.org, anilbommareddy09@gmail.com
Subject: Re: BUG #17100: undefined reference to `pg_qsort and pq_xxx
In-Reply-To: <17100-8838037599130224@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