Re: Failing to compile with ICU support error on Ubuntu - Mailing list pgsql-general

From Erik Wienhold
Subject Re: Failing to compile with ICU support error on Ubuntu
Date
Msg-id 1047822129.45879.1692445652375@office.mailbox.org
Whole thread Raw
In response to Failing to compile with ICU support error on Ubuntu  (Siddharth Karandikar <siddharth.karandikar@gmail.com>)
Responses Re: Failing to compile with ICU support error on Ubuntu
List pgsql-general
> On 19/08/2023 13:26 CEST Siddharth Karandikar <siddharth.karandikar@gmail.com> wrote:
>
> I am trying to build the latest postgresql on my ubuntu docker instance.
> But its failing to compile it even when ICU related libraries are installed.
>
> Compilation fails with
> ```
> 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 on the
> failure. It is possible the compiler isn't looking in the proper directory.
> Use --without-icu to disable ICU support.
> ```

You also need to install pkg-config with which ./configure looks up libs.

--
Erik



pgsql-general by date:

Previous
From: Siddharth Karandikar
Date:
Subject: Failing to compile with ICU support error on Ubuntu
Next
From: Siddharth Karandikar
Date:
Subject: Re: Failing to compile with ICU support error on Ubuntu