dak ブログ

python、rubyなどのプログラミング、MySQL、サーバーの設定などの備忘録。レゴの写真も。

PostgreSQL の pgxs を rpm でインストール

2025-02-02 13:04:00 | PostgreSQL

PostgreSQL の拡張構築基盤の pgxs を rpm でインストールする方法のメモ。

以下で postgresql17-devel をインストールしようとしたところ、perl(IPC::Run) が必要というエラーが出力されました。

sudo rpm install postgresql17-devel

Error:
 Problem: cannot install the best candidate for the job
  - nothing provides perl(IPC::Run) needed by postgresql17-devel-17.2-1PGDG.rhel9.x86_64 from pgdg17
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

そこで、以下を参考に Perl(IPC::Run) をインストールしてから、postgresql17-devel をインストールします。

https://ossc-db.github.io/pg_bulkload/pg_bulkload-ja.html#install

Perl(IPC::Run) のインストール

sudo yum --enablerepo=crb install perl-IPC-Run

postgresql17-devel のインストール

sudo yum install postgresql17-devel

確認

ls /usr/pgsql-17/lib/pgxs
config  src
この記事についてブログを書く
« PostgreSQL 17 のインストール | トップ | PostgreSQL の pgvector のイ... »

PostgreSQL」カテゴリの最新記事