From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Sandeep Thakkar <sandeep(dot)thakkar(at)enterprisedb(dot)com> |
Cc: | "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: PostgreSQL10 beta2 with ICU - initdb fails on MacOS |
Date: | 2017-07-13 04:03:25 |
Message-ID: | 24182.1499918605@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
I wrote:
> I still think that this represents under-engineering by the ICU crew
> and not anything we're doing wrong.
After some more examination of their readme.html, I tried this:
$ ./runConfigureICU MacOSX --prefix=/usr/local/icu-57.1 --enable-rpath
and that gave me sane-looking libraries:
$ otool -L /usr/local/icu-57.1/lib/libicui18n.57.1.dylib
/usr/local/icu-57.1/lib/libicui18n.57.1.dylib:
/usr/local/icu-57.1/lib/libicui18n.57.dylib (compatibility version 57.0.0, current version 57.1.0)
/usr/local/icu-57.1/lib/libicuuc.57.dylib (compatibility version 57.0.0, current version 57.1.0)
/usr/local/icu-57.1/lib/libicudata.57.dylib (compatibility version 57.0.0, current version 57.1.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1238.60.2)
/usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 307.5.0)
--- note that now libicudata is shown as a dependency. And then
configuring Postgres as I showed before leads to executables that
build, and initdb, and pass regression tests, and have a bunch
of ICU entries in pg_collation, without needing to fool with
DYLD_LIBRARY_PATH.
Their configure --help claims
--enable-rpath use rpath when linking default is only if necessary
but apparently that's for small values of "necessary" :-(
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Kyotaro HORIGUCHI | 2017-07-13 04:20:47 | Re: Typo in backend/storage/ipc/standby.c |
Previous Message | Sandeep Thakkar | 2017-07-13 03:55:58 | Re: PostgreSQL10 beta2 with ICU - initdb fails on MacOS |