Lists: | pgsql-bugs |
---|
From: | "Vladimir Zuvela" <vladimir(dot)zuvela(at)loblaw(dot)ca> |
---|---|
To: | pgsql-bugs(at)postgresql(dot)org |
Subject: | BUG #3957: make: *** [all] Error 2 / libpq.so.5.1 |
Date: | 2008-02-12 20:33:21 |
Message-ID: | 200802122033.m1CKXLrt010790@wwwmaster.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-bugs |
The following bug has been logged online:
Bug reference: 3957
Logged by: Vladimir Zuvela
Email address: vladimir(dot)zuvela(at)loblaw(dot)ca
PostgreSQL version: 8.0.3
Operating system: Red Hat Linux release 7.2 (Enigma) 2.4.7-10smp
Description: make: *** [all] Error 2 / libpq.so.5.1
Details:
when I try to execute the "make all" command I am getting an error
rm -f noblock.c && ln -s ../../../src/port/noblock.c .
gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline
-fno-strict-aliasing -fpic -DFRONTEND -I. -I../../../src/include
-D_GNU_SOURCE -I../../../src/port -c -o noblock.o noblock.c
rm -f pgstrcasecmp.c && ln -s ../../../src/port/pgstrcasecmp.c .
gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline
-fno-strict-aliasing -fpic -DFRONTEND -I. -I../../../src/include
-D_GNU_SOURCE -I../../../src/port -c -o pgstrcasecmp.o pgstrcasecmp.c
rm -f thread.c && ln -s ../../../src/port/thread.c .
gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline
-fno-strict-aliasing -fpic -DFRONTEND -I. -I../../../src/include
-D_GNU_SOURCE -I../../../src/port -c -o thread.o thread.c
rm -f strlcpy.c && ln -s ../../../src/port/strlcpy.c .
gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline
-fno-strict-aliasing -fpic -DFRONTEND -I. -I../../../src/include
-D_GNU_SOURCE -I../../../src/port -c -o strlcpy.o strlcpy.c
ar crs libpq.a 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
ranlib libpq.a
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,'/sys2/postgres/release/8.3.0/lib' -o libpq.so.5.1
/usr/bin/ld:exports.list:1: parse error in VERSION script
collect2: ld returned 1 exit status
make[3]: *** [libpq.so.5.1] Error 1
make[3]: Leaving directory
`/z/vzuvela/postgresql-8.3.0/src/interfaces/libpq'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/z/vzuvela/postgresql-8.3.0/src/interfaces'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/z/vzuvela/postgresql-8.3.0/src'
make: *** [all] Error 2
From: | Alvaro Herrera <alvherre(at)commandprompt(dot)com> |
---|---|
To: | Vladimir Zuvela <vladimir(dot)zuvela(at)loblaw(dot)ca> |
Cc: | pgsql-bugs(at)postgresql(dot)org |
Subject: | Re: BUG #3957: make: *** [all] Error 2 / libpq.so.5.1 |
Date: | 2008-02-12 21:28:17 |
Message-ID: | 20080212212816.GS14683@alvh.no-ip.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-bugs |
Vladimir Zuvela wrote:
> PostgreSQL version: 8.0.3
> Operating system: Red Hat Linux release 7.2 (Enigma) 2.4.7-10smp
> Description: make: *** [all] Error 2 / libpq.so.5.1
>
> when I try to execute the "make all" command I am getting an error
> 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,'/sys2/postgres/release/8.3.0/lib' -o libpq.so.5.1
>
> /usr/bin/ld:exports.list:1: parse error in VERSION script
Right. We don't support so old a version of Linux. It has been said
that you can make it work by hacking the Makefile to remove the
--version-script stuff. However I question the usage of RH 7.2 which is
several years without support.
Also, 8.0.3 is not a good idea -- perhaps you want 8.0.15, or even a
newer series, like 8.2.6.
--
Alvaro Herrera http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.