From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | "Randal T(dot) Rioux" <randy(at)procyonlabs(dot)com> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: 64-bit Compile Failure on Solaris 10 with OpenSSL |
Date: | 2008-09-06 23:05:08 |
Message-ID: | 26716.1220742308@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
"Randal T. Rioux" <randy(at)procyonlabs(dot)com> writes:
> checking checking blah blah <snipped>....
> 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.
> The most glaring error in config.log shows this:
You're looking at the wrong thing --- library-not-found errors are
completely expected in config.log, because it has to find out what
libraries are present. The actual failure is down here:
configure:19839: checking test program
configure:19854: gcc -o conftest -m64 -mcpu=ultrasparc -Wall -Wmissing-prototypes -Wpointer-arith -Winline -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv -I/usr/local/ssl/include -L/usr/local/ssl/lib -R/usr/local/ssl/lib -R/usr/sfw/lib/sparcv9 conftest.c -lssl -lcrypto -lz -lrt -lsocket -lm >&5
configure:19857: $? = 0
configure:19859: ./conftest
ld.so.1: conftest: fatal: libgcc_s.so.1: open failed: No such file or directory
./configure: line 19860: 20583 Killed ./conftest$ac_exeext
configure:19862: $? = 137
configure: program exited with status 137
Since you say this doesn't happen when SSL support isn't requested,
I suppose that the problem has to do with libssl.so attempting to
reference libgcc_s.so. Beyond that, hard to say, but I bet there
is an rpath problem at the bottom of it.
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Randal T. Rioux | 2008-09-06 23:20:28 | Re: 64-bit Compile Failure on Solaris 10 with OpenSSL |
Previous Message | Randal T. Rioux | 2008-09-06 22:39:26 | 64-bit Compile Failure on Solaris 10 with OpenSSL |