William <rotaecho@yahoo.com> writes:
> checking test program... failed
> configure: error:
> *** Could not execute a simple test program. This may
> be a problem
> *** related to locating shared libraries. Check the
> file 'config.log'
> *** for the exact reason.
> $ more config.log
You need to read a LOT further than that in config.log to find the
failure associated with this error. There are going to be dozens or
hundreds of expected failures; the unexpected one will be at the end
(modulo some probably-useless printouts of variable values).
regards, tom lane