Aleksey Tsalolikhin <atsaloli(dot)tech(at)gmail(dot)com> writes:
> Hi. I am trying to build pgbench on CentOS 5.3 x86_64.
> make complains that it cannot find -lpgport
> # cd contrib
> # make all
You need to "make" the rest of the tree first. Or at least the
src/port/ part.
regards, tom lane