Re: Still working on it... - Mailing list pgsql-admin

From Decibel!
Subject Re: Still working on it...
Date
Msg-id 20FA1EAF-E082-4749-AABF-7957C9AA0190@decibel.org
Whole thread Raw
In response to Still working on it...  (Carol Walter <walterc@indiana.edu>)
List 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@decibel.org
Give your computer some brain candy! www.distributed.net Team #1828



Attachment

pgsql-admin by date:

Previous
From: "Jonah H. Harris"
Date:
Subject: Re: Postgres database as a client/server architecture
Next
From: Barbara Stephenson
Date:
Subject: Re: Recommend dba maintenance tasks on a regular bases