strk <strk@keybit.net> writes:
> Trying to make minimal example I found out it's pg_dump too.
> Example:
> $ pg_dump template1
> ...
> Segmentation Fault
You've got a broken build then, or a platform-specific problem.
Check shared library linkage, maybe?
regards, tom lane