[pgpool-general: 8807] Re: Rocky 9 cannot make pgpool-recovery

Bo Peng pengbo at sraoss.co.jp
Mon Jun 5 16:45:42 JST 2023


Hi,

> and the make of recovery is still unsuccessful:
> 
> [root at yzx1 pgpool-recovery]# make
> sed 's,MODULE_PATHNAME,$libdir/pgpool-recovery,g' pgpool-recovery.sql.in
> >pgpool-recovery.sql
> gcc -Wall -Wmissing-prototypes -Wpointer-arith
> -Wdeclaration-after-statement -Werror=vla -Wendif-labels
> -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wformat-security
> -fno-strict-aliasing -fwrapv -fexcess-precision=standard
> -Wno-format-truncation -Wno-stringop-truncation -O2 -flto=auto
> -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall
> -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS
> -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong
> -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2
> -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection
> -fcf-protection -fPIC -I. -I./ -I/usr/include/pgsql/server
> -I/usr/include/pgsql/internal  -D_GNU_SOURCE -I/usr/include/libxml2   -c -o
> pgpool-recovery.o pgpool-recovery.c
> gcc: fatal error: cannot read spec file
> ‘/usr/lib/rpm/redhat/redhat-hardened-cc1’: No such file or directory
> compilation terminated.
> make: *** [<builtin>: pgpool-recovery.o] Error 1

The error massage shows /usr/lib/rpm/redhat/redhat-hardened-cc1 file couldn't be found.

Please run the following command to install redhat-rpm-config:

  dnf install -y redhat-rpm-config

-- 
Bo Peng <pengbo at sraoss.co.jp>
SRA OSS LLC
https://www.sraoss.co.jp/


More information about the pgpool-general mailing list