From: | Decibel! <decibel(at)decibel(dot)org> |
---|---|
To: | Carol Walter <walterc(at)indiana(dot)edu> |
Cc: | pgsql-admin(at)postgresql(dot)org |
Subject: | Re: Still working on it... |
Date: | 2008-10-06 17:00:36 |
Message-ID: | 20FA1EAF-E082-4749-AABF-7957C9AA0190@decibel.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
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 program
> configure: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 >&5
> configure:17689: $? = 0
> configure:17691: ./conftest
> ld.so.1: conftest: fatal: libreadline.so.5: open failed: No such
> file or directory
> ./configure: line 17692: 18377 Killed ./conftest
> $ac_exeext
> configure: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(at)decibel(dot)org
Give your computer some brain candy! www.distributed.net Team #1828
From | Date | Subject | |
---|---|---|---|
Next Message | Mohammed Rashid | 2008-10-06 17:54:21 | Re: Postgres database as a client/server architecture |
Previous Message | Steve Crawford | 2008-10-06 15:47:29 | Re: [HACKERS] Monitoring postgres |