On Oct 2, 2008, at 12:51 PM, Carol Walter wrote:
I'm trying to configure Postgres on a test box to I can the upgrade my production box. I am getting an error as follow:configure:17671: checking test programconfigure:17686: gcc -o conftest -O2 -Wall -Wmissing-prototypes - Wpointer-arith -Winline -Wdeclaration-after-statement -Wendif- labels -fno-strict-aliasing -fwrapv -I/opt/slis/include -I/usr/ sfw/include -I/opt/sfw/include -I/opt/slis/krb5/include -L/opt/ slis/lib -L/usr/sfw/lib -L/opt/sfw/lib conftest.c -lpam -lssl - lcrypto -lkrb5 -lz -lreadline -ltermcap -lrt -lsocket -lm >&5configure:17689: $? = 0 configure:17691: ./conftestld.so.1: conftest: fatal: libreadline.so.5: open failed: No such file or directory ./configure: line 17692: 18377 Killed ./conftest $ac_exeextconfigure:17694: $? = 137 configure: program exited with status 137 configure: failed program was: | /* confdefs.h. */ |The file, libreadline.so.5 is in location /opt/slis/lib and is owned by root. I didn't find a list of exit status codes in the documentation. Does anyone know why my configuration might be failing?
I *think* what's happening is that it's compiling the test program to link dynamically to libreadline (which is fairly normal), but then LD can't actually find libreadline anywhere. Try man/google for ld.conf.
-- Decibel!, aka Jim C. Nasby, Database Architect decibel@xxxxxxxxxxx Give your computer some brain candy! www.distributed.net Team #1828
Attachment:
smime.p7s
Description: S/MIME cryptographic signature