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

From leoaaryan
Subject Re: Statically linking ICU with Postgres
Date
Msg-id 1513661923868-0.post@n3.nabble.com
Whole thread Raw
In response to Re: Statically linking ICU with Postgres  (Michael Paquier <michael.paquier@gmail.com>)
Responses Re: Statically linking ICU with Postgres
List pgsql-hackers
IMO the whole idea behind building Postgres with ICU was to remove the
dependency provided by the OS package. Installing ICU as shared object and
configuring Postgres with the libicu*.so file may have a dependency on
LD_LIBRARY_PATH. In shared object situation un-setting/re-setting the
LD_LIBRARY_PATH will give inconsistent behavior.
If I'm able to link ICU library to Postgres statically I'll be able to
remove these dependencies. 

I know there are libraries which are statically linked with the Postgres
code and even Postgres internally links modules statically. I'm aiming to
install ICU outside the Postgres source code directory and then link it
statically.



--
Sent from: http://www.postgresql-archive.org/PostgreSQL-hackers-f1928748.html


pgsql-hackers by date:

Previous
From: David Rowley
Date:
Subject: Re: [HACKERS] path toward faster partition pruning
Next
From: David Rowley
Date:
Subject: Re: [HACKERS] path toward faster partition pruning