Обсуждение: install problem
I am trying to install postgres-7.1 on a Solaris5.6 machine. I am getting the following error when I run the ./configure. I am also including my settings. Thanks for the help. Stephen ###ERROR### checking for rl_completion_append_character... no checking whether filename_completion_function is declared... no checking for finite... no checking for sigsetjmp... no checking for optreset... no 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. ###SETTINGS### HOME=/ HZ=100 IFS= LD_LIBRARY_PATH=/usr/local/lib:/usr/local/ssl/lib LOGNAME=root MAILCHECK=600 MANPATH=/opt/SUNWsymon/man:/opt/SUNWvxvm/man:/opt/SUNWvmsa/man:/opt/SUNWvxva/man MANSECTS=\1l:1:1m:1c:1f:1s:1b:2:\3:3c:3i:3n:3m:3k:3g:3e:3x11:3xt:3w:3b:9:4:5:7:8 NIS_PATH=org_dir.$:$ OPTIND=1 PATH=/opt/gnu/bin:/opt/SUNWsymon/bin:/opt/SUNWvts/bin:/usr/bin:/usr/sbin:/usr/lib/nis:/opt/local/bin/ PS1=# PS2=> SHELL=/sbin/sh SYMONHOME=/opt/SUNWsymon TERM=sun-cmd
"Stephen M. Ford" <sford@Eng.Auburn.EDU> writes: > *** 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. > LD_LIBRARY_PATH=/usr/local/lib:/usr/local/ssl/lib I think your LD_LIBRARY_PATH fails to include all the directories that are searched by the linker. So libraries are getting found and bound into the test executable, but then the runtime shlib linker can't find 'em. regards, tom lane