From: | "Henry B(dot) Hotz" <hotz(at)jpl(dot)nasa(dot)gov> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | pgsql-ports(at)postgresql(dot)org |
Subject: | Re: 7.1.3 fails to configure on Solaris 2.7 |
Date: | 2001-12-04 23:27:18 |
Message-ID: | p0510030eb8330b7544ca@[137.78.212.225] |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-ports |
At 3:23 PM -0800 12/4/01, Henry B. Hotz wrote:
>At 8:26 PM -0500 12/3/01, Tom Lane wrote:
>>"Henry B. Hotz" <hotz(at)jpl(dot)nasa(dot)gov> writes:
>>> configure: failed program was:
>>> #line 6802 "configure"
>>> #include "confdefs.h"
>>> int main() { return 0; }
>>
>>> I can put those 3 lines in a file and use those gcc options and it
>>> compiles just fine thank you.
>>
>>But does it *execute*? And return zero status?
>>
>>The usual cause of this sort of problem is messed-up shared library
>>linkage (eg, LD_LIBRARY_PATH different from linker's search path),
>>which doesn't show up till you try to execute the program.
>>That's what the test is there to catch.
>
>Ah! No it doesn't. It can't find /usr/local/lib/libz.so. Let's
>see there is a configure option for that isn't there? Setting
>LD_RUN_PATH or something. . .
OK, --with-libs=/usr/local/lib doesn't work; --enable-rpath doesn't
work. Setting LD_RUN_PATH does.
Seems like this should be mentioned in the INSTALL notes. Actually
seems like this should be taken care of automatically, but maybe
that's hard?
--
The opinions expressed in this message are mine,
not those of Caltech, JPL, NASA, or the US Government.
Henry(dot)B(dot)Hotz(at)jpl(dot)nasa(dot)gov, or hbhotz(at)oxy(dot)edu
From | Date | Subject | |
---|---|---|---|
Next Message | Sean Duffy | 2001-12-05 03:01:12 | Running on RH 7.2 Linux |
Previous Message | Adnan Selimovic | 2001-12-04 11:17:57 | undefined reference error when compiling postgresql 7.1.3 on Windows 2000 |