Re: Static build of psql with readline support

Andrew Dunstan <andrew@dunslane.net>

From: "Andrew Dunstan" <andrew@dunslane.net>
To: <markir@paradise.net.nz>
Cc: <andrew@dunslane.net>, <chris.kings-lynne@calorieking.com>, <kleptog@svana.org>, <chriskl@familyhealth.com.au>, <pgsql-hackers@postgresql.org>
Date: 2006-03-23T04:30:48Z
Lists: pgsql-hackers
Mark Kirkwood said:
>>
>>
>> FC3:
>>
>> /home/andrew/pglive/pgsql.plperl-pq/src/interfaces/libpq/ip.c:79:
>> warning: Using 'getaddrinfo' in statically linked applications
>> requires at runtime the shared libraries from the glibc version used
>> for linking
>> collect2: ld returned 1 exit status
>> make: *** [psql] Error 1
>>
>
>
> Is that after patching only the psql Makefile? Interesting - you
> wouldn't think FC3 would be *that* different ....
>

Yes. I just patched that Makefile, and then in the psql directory did "make
clean; make".

cheers

andrew