On Aug 2, 2008, at 7:13 PM, Manoj Patwardhan wrote:
bash-3.2$ initdb -D /usr/local/pgsql/data dyld: Library not loaded: /usr/local/pgsql/lib/libpq.4.dylib Referenced from: /usr/local/bin/initdb Reason: image not found Trace/BPT trapAny ideas? This is on Mac OS 10.5.4. What I see in /usr/local/pgsql/ lib is libpq.5.dylib and not libpq.4.dylib.
Could be a path problem. Try which initdb initdb --version to make sure you are running the version of initdb you think you are.