PostgreSQL 8.4.4 configure error: cannot compute sizeof (off_t) 

Joined:
04/07/2009
Posts:
135

June 17, 2010 21:16:59    Last update: June 17, 2010 21:16:59
I had this configure error while building PostgreSQL on Solaris 10:
checking size of off_t... configure: error: cannot compute sizeof (off_t)


Looking at config.log it was apparent that when configure tried to run conftest it failed to load libreadline.so.5. I had libreadline.so.5 under /usr/local/lib, so I made a symlink to it under /usr/lib and that solved the problem.

Maybe there's another way to tell conftest to look for libreadline.so.5 under /usr/local/lib?
Share |
| Comment  | Tags