Greg Smith <greg@2ndQuadrant.com> writes:
> On 2/26/13 6:01 PM, Tom Lane wrote:
>> Greg Smith <greg@2ndQuadrant.com> writes:
>>> $ initdb --help
>>> The files belonging to this database system will be owned by user "gsmith".
>> Hm. Works as expected for me. What platform is this exactly?
> The broken one is OS X Lion 10.7.5, main build toolchain provided by
> Apple's development tools, and Homebrew used to install the missing
> libraries (zlib etc.) I had been beating my head against the wall
> asking why initdb didn't work for so long today, I didn't even think
> this could be a platform specific issue. I don't have any other OS X
> version installed here to test if this is specific to Lion or not.
[ scratches head... ] One of the places where it works as expected for
me is my 10.7.5 laptop. So there's something weird about some library
you're using. What's getting linked into initdb ("otool -L" should
answer that) and where'd you get it from?
regards, tom lane