BUG #17100: undefined reference to `pg_qsort and pq_xxx

Поиск
Список
Период
Сортировка
От PG Bug reporting form
Тема BUG #17100: undefined reference to `pg_qsort and pq_xxx
Дата
Msg-id 17100-8838037599130224@postgresql.org
обсуждение исходный текст
Ответы Re: BUG #17100: undefined reference to `pg_qsort and pq_xxx  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
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.


В списке pgsql-bugs по дате отправления:

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: BUG #17093: invalid primary checkpoint record
Следующее
От: Sergei Kornilov
Дата:
Сообщение: Re: BUG #17099: Problem with EXECUTE and JSON