From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Joseph S <jks(at)selectacast(dot)net> |
Cc: | pgsql-hackers(at)postgreSQL(dot)org |
Subject: | Re: 8.2beta1 does not compile for me on Solaris 10 |
Date: | 2006-10-10 22:35:25 |
Message-ID: | 13746.1160519725@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Joseph S <jks(at)selectacast(dot)net> writes:
> I'm attaching the whole log.
It appears that blastwave's version of readline passes the link test:
> configure:6320: checking for -lreadline
> configure:6347: gcc -o conftest -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -g -I/opt/csw/include -L/opt/csw/lib conftest.c -lreadline -lrt -lsocket -lm >&5
> configure:6353: $? = 0
but fails at execution:
> configure:17432: checking test program
> configure:17447: gcc -o conftest -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -g -I/opt/csw/include -L/opt/csw/lib conftest.c -lz -lreadline -lrt -lsocket -lm >&5
> configure:17450: $? = 0
> configure:17452: ./conftest
> ld.so.1: ./conftest: fatal: libreadline.so.5: open failed: No such file or directory
> ./configure: line 17453: 9775 Killed ./conftest$ac_exeext
> configure:17455: $? = 137
> configure: program exited with status 137
This most likely means that libreadline depends on another shared
library (termcap maybe?) that isn't installed in your default search
path; so you'd need to set LD_LIBRARY_PATH or LD_RUN_PATH --- see item 3
in our FAQ_Solaris for info. One would think that blastwave's
documentation for the package would warn about this though.
I tend to agree with Andrew's solution of installing it in a more
standard place than /opt/csw ...
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Robert Treat | 2006-10-10 22:56:17 | Re: Index Tuning Features |
Previous Message | Volkan YAZICI | 2006-10-10 22:29:20 | TupleDesc for a Nested Record |