Re: Statically linking ICU with Postgres - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: Statically linking ICU with Postgres
Date
Msg-id CAB7nPqSKt=wucZR7N25o2jztWmdspkpDhYoO421MozuFWLggmg@mail.gmail.com
Whole thread Raw
In response to Statically linking ICU with Postgres  (leoaaryan <leoaaryan@gmail.com>)
Responses Re: Statically linking ICU with Postgres  (leoaaryan <leoaaryan@gmail.com>)
List pgsql-hackers
On Tue, Dec 19, 2017 at 12:10 PM, leoaaryan <leoaaryan@gmail.com> wrote:
> I can see libicu*.a in the directory /leoaaryan/postgres-10/lib. But I'm not
> able to make the postgres source code with it.
> ./configure --prefix=/leoaaryan/postgres-10 ... --with-icu
> ICU_CFLAGS="-I/leoaaryan/postgres-10/include"
> ICU_LIBS="-L/leoaaryan/postgres-10/lib"
>
> Is there a way to link ICU library to Postgres statically?

Why would you want to do that? This does not improve the user
experience and you are asking for more pain with your package
management by not relying on what the OS provides.
-- 
Michael


pgsql-hackers by date:

Previous
From: leoaaryan
Date:
Subject: Statically linking ICU with Postgres
Next
From: David Rowley
Date:
Subject: Re: [HACKERS] path toward faster partition pruning