On Wed, Jul 12, 2017 at 8:13 PM, Tom Lane <t...@sss.pgh.pa.us> wrote:
> Sandeep Thakkar <sandeep.thak...@enterprisedb.com> 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] FATAL: could not open collator for locale "und": > > U_FILE_ACCESS_ERROR* > > *2017-07-12 11:18:21.187 BST [53618] STATEMENT: SELECT > > pg_import_system_collations('pg_catalog');* > > 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 other than --prefix. In environment, CXXFLAGS was set to "-isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk -mmacosx-version-min=10.7 -arch i386 -arch x86_64" regards, tom lane > -- Sandeep Thakkar EDB