Re: [HACKERS] PostgreSQL10 beta2 with ICU - initdb fails on MacOS

2017-07-12 Thread Tom Lane
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: $

Re: [HACKERS] PostgreSQL10 beta2 with ICU - initdb fails on MacOS

2017-07-12 Thread Sandeep Thakkar
On Thu, Jul 13, 2017 at 8:23 AM, Tom Lane wrote: > Sandeep Thakkar writes: > > On Thu, Jul 13, 2017 at 12:44 AM, Tom Lane wrote: > >> and this is evidently because the libraries themselves don't know where > >> they live: > >> $ otool -D /usr/local/icu-57.1/lib/libicui18n.57.dylib > >> /usr/loc

Re: [HACKERS] PostgreSQL10 beta2 with ICU - initdb fails on MacOS

2017-07-12 Thread Tom Lane
Sandeep Thakkar writes: > On Thu, Jul 13, 2017 at 12:44 AM, Tom Lane wrote: >> and this is evidently because the libraries themselves don't know where >> they live: >> $ otool -D /usr/local/icu-57.1/lib/libicui18n.57.dylib >> /usr/local/icu-57.1/lib/libicui18n.57.dylib: >> libicui18n.57.dylib >

Re: [HACKERS] PostgreSQL10 beta2 with ICU - initdb fails on MacOS

2017-07-12 Thread Sandeep Thakkar
On Thu, Jul 13, 2017 at 12:44 AM, Tom Lane wrote: > Sandeep Thakkar writes: > > On Wed, Jul 12, 2017 at 8:13 PM, Tom Lane wrote: > >> Ugh. Please provide details about the hand-built ICU --- what version, > >> what configure options did you use for it, etc. > > > I tried with ICU 53.1 and 57.1

Re: [HACKERS] PostgreSQL10 beta2 with ICU - initdb fails on MacOS

2017-07-12 Thread Tom Lane
Sandeep Thakkar writes: > On Wed, Jul 12, 2017 at 8:13 PM, Tom Lane wrote: >> Ugh. Please provide details about the hand-built ICU --- what version, >> what configure options did you use for it, etc. > I tried with ICU 53.1 and 57.1 and the results is same. > There was no configure options othe

Re: [HACKERS] PostgreSQL10 beta2 with ICU - initdb fails on MacOS

2017-07-12 Thread Sandeep Thakkar
On Wed, Jul 12, 2017 at 8:13 PM, Tom Lane wrote: > Sandeep Thakkar writes: > > On MacOS, I configured PG10 beta2 sources with '--with-icu" option along > > with ICU_LIBS and ICU_CFLAGS env variables to define the location of the > > ICU libs that I built. Once the staging is ready, I executed in

Re: [HACKERS] PostgreSQL10 beta2 with ICU - initdb fails on MacOS

2017-07-12 Thread Tom Lane
Sandeep Thakkar writes: > On MacOS, I configured PG10 beta2 sources with '--with-icu" option along > with ICU_LIBS and ICU_CFLAGS env variables to define the location of the > ICU libs that I built. Once the staging is ready, I executed initdb but it > fails with the following error: > [53618] FAT

[HACKERS] PostgreSQL10 beta2 with ICU - initdb fails on MacOS

2017-07-12 Thread Sandeep Thakkar
Hi On MacOS, I configured PG10 beta2 sources with '--with-icu" option along with ICU_LIBS and ICU_CFLAGS env variables to define the location of the ICU libs that I built. Once the staging is ready, I executed initdb but it fails with the following error: -- $./initdb -D /tmp/data The files belong