Re: 8.3.3 Complie issue

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: "Harvey, Allan AC" <HarveyA(at)OneSteel(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-general(at)postgresql(dot)org
Subject: Re: 8.3.3 Complie issue
Date: 2008-07-15 13:44:46
Message-ID: 20080715134446.GA7334@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.o fe-protocol2.o fe-protocol3.o pqexpbuffer.o pqsignal.o fe-secure.o md5.o ip.o wchar.o encnames.o noblock.o pgstrcasecmp.o thread.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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Pavel Stehule 2008-07-15 13:46:54 Re: how to found a variable is in a aggregation or not?
Previous Message Bruce Momjian 2008-07-15 13:40:15 Re: download latest points to wrong place [was Re: [GENERAL] Installing PostgreSQL without using CygWin]