タグ

ブックマーク / jnsato.com (1)

  • macOS で PostgreSQL v16 をビルドできないとき - ユユユユユ

    TL;DR: PKG_CONFIG_PATH を icu4c に通してあげましょう。 export PKG_CONFIG_PATH="/usr/local/opt/icu4c/lib/pkgconfig" PostgreSQL v16 のビルドを macOS でおこなおうとして、こんなエラーにあって失敗しました。 Sonoma 14.1.2 で遭遇しましたが Monterey 12.7.1 でもおなじことになるそうです1。 checking whether to build with ICU support... yes checking for icu-uc icu-i18n... no configure: error: ICU library not found If you have ICU already installed, see config.log for details

    tkmkg8m
    tkmkg8m 2024/01/28
    PKG_CONFIG_PATH="$(brew --prefix icu4c)/lib/pkgconfig" asdf install postgres 16.1
  • 1