Re: 7.1.3 fails to configure on Solaris 2.7 - Mailing list pgsql-ports

From Tom Lane
Subject Re: 7.1.3 fails to configure on Solaris 2.7
Date
Msg-id 20453.1007429164@sss.pgh.pa.us
Whole thread Raw
In response to 7.1.3 fails to configure on Solaris 2.7  ("Henry B. Hotz" <hotz@jpl.nasa.gov>)
Responses Re: 7.1.3 fails to configure on Solaris 2.7  ("Henry B. Hotz" <hotz@jpl.nasa.gov>)
List pgsql-ports
"Henry B. Hotz" <hotz@jpl.nasa.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.

            regards, tom lane

pgsql-ports by date:

Previous
From: "Henry B. Hotz"
Date:
Subject: Darwin/MacOSX 10.1.1 configure issues with b3
Next
From: "Henry B. Hotz"
Date:
Subject: Re: 7.1.3 fails to configure on Solaris 2.7