Re: Failing to compile with ICU support error on Ubuntu

From: Erik Wienhold <ewie(at)ewie(dot)name>
To: Siddharth Karandikar <siddharth(dot)karandikar(at)gmail(dot)com>, pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: Failing to compile with ICU support error on Ubuntu
Date: 2023-08-19 11:47:32
Message-ID: 1047822129.45879.1692445652375@office.mailbox.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> On 19/08/2023 13:26 CEST Siddharth Karandikar <siddharth(dot)karandikar(at)gmail(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Siddharth Karandikar 2023-08-19 12:03:51 Re: Failing to compile with ICU support error on Ubuntu
Previous Message Siddharth Karandikar 2023-08-19 11:26:25 Failing to compile with ICU support error on Ubuntu