Thread: Help me to solve this problem!
Great day to you! I tried to install postgresql 8.3.7 on Linux RedHat 7.2 platform. Process of "configure" ends normally, process of "gmake" ends with this output of errors: { gmake[3]: Entering directory `/usr/home/install/postgresql-8.3.7/src/interfaces/ libpq' gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline -fno-strict-aliasing -fpic -shared -Wl,-soname,libpq.so.5 -Wl,--version-script=exports.list fe-aut h.o fe-connect.o fe-exec.o fe-misc.o fe-print.o fe-lobj.o fe-protocol2.o fe-prot ocol3.o pqexpbuffer.o pqsignal.o fe-secure.o md5.o ip.o wchar.o encnames.o noblo ck.o pgstrcasecmp.o thread.o strlcpy.o -L../../../src/port -lcrypt -Wl,-rpath,' /usr/home/pgsql/lib' -o libpq.so.5.1 /usr/bin/ld:exports.list:1: parse error in VERSION script collect2: ld returned 1 exit status gmake[3]: *** [libpq.so.5.1] Error 1 gmake[3]: Leaving directory `/usr/home/install/postgresql-8.3.7/src/interfaces/l ibpq' gmake[2]: *** [all] Error 2 gmake[2]: Leaving directory `/usr/home/install/postgresql-8.3.7/src/interfaces' gmake[1]: *** [all] Error 2 gmake[1]: Leaving directory `/usr/home/install/postgresql-8.3.7/src' gmake: *** [all] Error 2 } If you can, help me to resolve this problem! Thanks for attention! --
sam rab wrote: > Great day to you! > I tried to install postgresql 8.3.7 on Linux RedHat 7.2 platform. Maybe this is a stupid question, but ... why? Red Hat 7.2 is *ANCIENT*. There haven't been security updates since nigh-unto-forever. It's using C libraries with a completely different threading model to modern Linuxes, it has an ancient kernel, and it's generally scary. Since the database server doesn't even need to live on the same hardware as the rest of the application, why not just provide a modern machine for the DB server? If you're just trying to build the client libraries that makes more sense - maybe you're stuck with an ancient server thanks to some braindead binary-only library that chokes on a newer system, for example. > Process of "configure" ends normally, > process of "gmake" ends with this output of errors: > { > gmake[3]: Entering directory `/usr/home/install/postgresql-8.3.7/src/interfaces/ > libpq' > gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline -fno-strict-aliasing > -fpic -shared -Wl,-soname,libpq.so.5 -Wl,--version-script=exports.list fe-aut > h.o fe-connect.o fe-exec.o fe-misc.o fe-print.o fe-lobj.o fe-protocol2.o fe-prot > ocol3.o pqexpbuffer.o pqsignal.o fe-secure.o md5.o ip.o wchar.o encnames.o noblo > ck.o pgstrcasecmp.o thread.o strlcpy.o -L../../../src/port -lcrypt -Wl,-rpath,' > /usr/home/pgsql/lib' -o libpq.so.5.1 > /usr/bin/ld:exports.list:1: parse error in VERSION script Your toolchain is just TOO OLD. You probably need a newer gcc and binutils. Maybe it's possible to make it all go, but I wouldn't bother unless really forced. Maybe rather than upgrading gcc and binutils you might be able to modify the configure script and/or makefile to work around it. I wouldn't be too sure how; I'd need to dig into what was happening and probably have an old box on hand. -- Craig Ringer
Craig Ringer <craig@postnewspapers.com.au> writes: > sam rab wrote: >> I tried to install postgresql 8.3.7 on Linux RedHat 7.2 platform. >> [and got] >> /usr/bin/ld:exports.list:1: parse error in VERSION script > Your toolchain is just TOO OLD. Yes. You could probably work around this particular issue by removing the linux-specific portion of src/interfaces/libpq/Makefile, but there are likely to be more problems. You'd be *far* better off to spend your time on moving to a platform that's not so obsolete. (If memory serves, 7.2 was the latest and greatest when I joined Red Hat ... in 2001.) regards, tom lane