Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 7EDDF476072 for ; Mon, 2 Sep 2002 06:27:08 -0400 (EDT) Received: from unixa.nerc-wallingford.ac.uk (unixa.nerc-wallingford.ac.uk [192.171.172.11]) by postgresql.org (Postfix) with ESMTP id 2C207476033 for ; Mon, 2 Sep 2002 06:27:05 -0400 (EDT) Received: from itss.nerc.ac.uk (shannon [192.171.172.61]) by unixa.nerc-wallingford.ac.uk (8.11.1/8.11.1) with ESMTP id g82AR2128851; Mon, 2 Sep 2002 11:27:05 +0100 (BST) Message-ID: <3D733CF6.31C05023@itss.nerc.ac.uk> Date: Mon, 02 Sep 2002 11:27:02 +0100 From: Richard Gillman Organization: NERC X-Mailer: Mozilla 4.78 [en] (X11; U; SunOS 5.8 sun4u) X-Accept-Language: en MIME-Version: 1.0 To: pgsql-admin@postgresql.org Subject: pgsql 7.2.2: problem compiling on Sol 8 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200209/22 X-Sequence-Number: 5561 I'm trying to compile PGSQL 7.2.2 to run with PHP and Apache on Solaris 8. The compilation appears to go OK, but, when I load Apache, I get Syntax error on line 237 of /etc/apache/httpd.conf: Cannot load /usr/apache/libexec/libphp4.so into server: ld.so.1: /usr/apache/bin/httpd: fatal: libgcc_s.so.1: open failed: No such file or directory /usr/apache/bin/apachectl start: httpd could not be started I pinned this down to ldd /usr/local/pgsql/lib/libpq.so.2 libgcc_s.so.1 => (file not found) I am using gcc 3.1.1, which is installed in a non-default location. My command sequence is: setenv LD_LIBRARY_PATH /nerc/packages/gcc/3.1.1/lib:/nerc/packages/gcc/3.1.1/lib/sparcv9 setenv LDFLAGS "-L/nerc/packages/gcc/3.1.1/lib -R/nerc/packages/gcc/3.1.1/lib" configure --quiet --with-libraries=/nerc/packages/gcc/3.1.1/lib --with-includes=/nerc/packages/gcc/3.1.1/lib gmake then, as root, gmake install I see from browsing the email lists that this problem has been encountered before, May 2001 was the earliest reference, but have not been able to find a solution. Can anybody help? Reply to me directly, I will summarise. I also tried 7.1.3; this gave me heaptuple.c:760: `MAXIMUM_ALIGNOF' undeclared (first use in this function) gmake[4]: *** [heaptuple.o] Error 1 gmake[4]: Leaving directory `/local1/dick1/apache/postgresql-7.1.3/src/backend/access/common' gmake[3]: *** [common-recursive] Error 2 gmake[3]: Leaving directory `/local1/dick1/apache/postgresql-7.1.3/src/backend/access' gmake[2]: *** [access-recursive] Error 2 gmake[2]: Leaving directory `/local1/dick1/apache/postgresql-7.1.3/src/backend' gmake[1]: *** [all] Error 2 gmake[1]: Leaving directory `/local1/dick1/apache/postgresql-7.1.3/src' gmake: *** [all] Error 2 thanks in advance, Dick -- Richard Gillman iTSS UNIX Systems Group, Maclean Building, Wallingford OX10 8BB Tel: 01491 - 692 339