I am trying to do an installation from source of PostgreSQL into Suse 9.2 Professional. This is the first thing I've done with this distro. Configure fails, reporting that it cannot find the readline library, although it seems to be present in /lib
Running ./configure as root, I get:
checking for shmget in -lcygipc... no checking for readline... no configure: error: readline library not found If you have readline already installed, see config.log for details on the failure. It is possible the compiler isn't looking in the proper directory. ....
However, a readline library appears to be present in /lib:
# find / -name libreadline.so.5 -print /lib/libreadline.so.5
and is reported by ldconfig:
# ldconfig -p | grep readline libreadline.so.5 (libc6) => /lib/libreadline.so.5 libguilereadline-v-12.so.12 (libc6) => /usr/lib/libguilereadline-v-12.so.12 libguilereadline-v-12.so (libc6) => /usr/lib/libguilereadline-v-12.so
As a check, I explicitly specified to configure the libraries to search:
# ./configure --with-libraries=/lib:/usr/lib
but it fails in just the same way.
I then told configure to ignore readline, and it continue but failed to find zlib in a similar way, although this too seems to be present in /usr/lib
I must be doing something stupid - but what?
[Note: I have to install from source because after this is working, I need to install an optional contrib to extend PostgeSQL to deal with spatial data, and this will only install into the source tree].
Thanks for your advice!
_______________________________________________________________________ Professor Nigel Gilbert, Editor, Journal of Artificial Societies and Social Simulation, http://www.soc.surrey.ac.uk/JASSS/ Centre for Research on Social Simulation (CRESS) Department of Sociology, University of Surrey, Guildford, UK. Tel:+44 1483 689173 N.Gilbert@soc.surrey.ac.uk http://cress.soc.surrey.ac.uk/