Are Bryne <are-pgsql-ports(at)communique(dot)no> writes:
> So ldd doesn't work for libraries, only executables...
Possibly it would work to explicitly include "-lssl" in the link
command for libecpg. In src/interfaces/ecpg/lib/Makefile,
add -lssl to the line "SHLIB_LINK= $(libpq)" and see if it's happier.
regards, tom lane