Re: 8.3.3 Complie issue - Mailing list pgsql-general

From Alvaro Herrera
Subject Re: 8.3.3 Complie issue
Date
Msg-id 20080715134446.GA7334@alvh.no-ip.org
Whole thread Raw
In response to Re: 8.3.3 Complie issue  ("Harvey, Allan AC" <HarveyA@OneSteel.com>)
Responses Re: 8.3.3 Complie issue  ("Harvey, Allan AC" <HarveyA@OneSteel.com>)
List pgsql-general
Harvey, Allan AC wrote:

> Fixed that, how about this
>
> echo '{ global:' >exports.list
> gawk '/^[^#]/ {printf "%s;\n",$1}' exports.txt >>exports.list
> echo ' local: *; };' >>exports.list
> gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline -fno-strict-aliasing  -fpic -shared
-Wl,-soname,libpq.so.5-Wl,--version-script=exports.list  fe-auth.o fe-connect.o fe-exec.o fe-misc.o fe-print.o
fe-lobj.ofe-protocol2.o fe-protocol3.o pqexpbuffer.o pqsignal.o fe-secure.o md5.o ip.o wchar.o encnames.o noblock.o
pgstrcasecmp.othread.o strlcpy.o  -L../../../src/port -lcrypt -Wl,-rpath,'/removeExt2/pgsql8.3/lib' -o libpq.so.5.1 
> /usr/i386-slackware-linux/bin/ld:exports.list:1: parse error in VERSION script
> collect2: ld returned 1 exit status

Old Slackware?  If you really want to compile there, I think it should
work by just removing the -Wl,--version-script param from the link line.

--
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

pgsql-general by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: FAQ correction for Windows 2000/XP
Next
From: "Pavel Stehule"
Date:
Subject: Re: how to found a variable is in a aggregation or not?