Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c4b95-00061X-MF for pgsql-bugs@arkaria.postgresql.org; Wed, 09 Nov 2016 22:15:03 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1c4b94-0000fT-Pj for pgsql-bugs@arkaria.postgresql.org; Wed, 09 Nov 2016 22:15:02 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1c4b93-0000cJ-N4 for pgsql-bugs@postgreSQL.org; Wed, 09 Nov 2016 22:15:01 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1c4b8w-0005hk-Qs for pgsql-bugs@postgreSQL.org; Wed, 09 Nov 2016 22:15:00 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id uA9MEqeY031270; Wed, 9 Nov 2016 17:14:52 -0500 From: Tom Lane To: Tim cc: pgsql-bugs@postgreSQL.org Subject: Re: error when installing 9.3.0 on Slackware using slackbuilds In-reply-to: References: <27315.1478723469@sss.pgh.pa.us> Comments: In-reply-to Tim message dated "Wed, 09 Nov 2016 15:57:23 -0500" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <31268.1478729692.1@sss.pgh.pa.us> Date: Wed, 09 Nov 2016 17:14:52 -0500 Message-ID: <31269.1478729692@sss.pgh.pa.us> X-Pg-Spam-Score: -4.8 (----) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org [ please keep the list cc'd ] Tim writes: > The only reason I am using 9.3 is because that is what the slackbuild > script had. I am just using it for another program I am trying to > install, so I figured I could get it installed then upgrade later. > Since this is a dependency, I didn't want to spend too much time > re-writing the slackbuild scripts until I tested it. I am attaching > the error output of the make command, starting with the part that > looked like errors to me. The main ones are at the bottom and it is > all the output from the terminal. Thanx for looking at this for me. [ lots of errors like libpq/be-secure.o: In function `SSLerrmessage': be-secure.c:(.text+0x242): undefined reference to `ERR_get_error' be-secure.c:(.text+0x264): undefined reference to `ERR_reason_error_string' libpq/be-secure.o: In function `load_dh_buffer': libpq/auth.o: In function `InitializeLDAPConnection.isra.2': auth.c:(.text+0x267): undefined reference to `ldap_init' auth.c:(.text+0x286): undefined reference to `ldap_set_option' auth.c:(.text+0x2b9): undefined reference to `ldap_start_tls_s' auth.c:(.text+0x2c8): undefined reference to `ldap_unbind' auth.c:(.text+0x30d): undefined reference to `ldap_unbind' auth.c:(.text+0x339): undefined reference to `ldap_err2string' auth.c:(.text+0x3b3): undefined reference to `ldap_err2string' utils/adt/xml.o: In function `xml_errorHandler': xml.c:(.text+0x4c9): undefined reference to `__xmlGenericError' xml.c:(.text+0x4d1): undefined reference to `__xmlGenericErrorContext' xml.c:(.text+0x4e3): undefined reference to `xmlSetGenericErrorFunc' xml.c:(.text+0x4f3): undefined reference to `xmlParserPrintFileContext' xml.c:(.text+0x4fe): undefined reference to `xmlSetGenericErrorFunc' ] Well, that's pretty odd, because your configure output clearly shows that you didn't ask for OpenSSL support, nor LDAP support, nor XML support. So the build should not have compiled any references to these functions. I speculate that the slackbuild script you're using is playing fast and loose with the PG configuration process, maybe hand-editing the resulting pg_config.h in not-very-consistent ways. Or maybe you're trying to use generated files from different configure runs. I think you could get a result like the above from a pg_config.h that expected to build with these options plus a Makefile.global that did not. regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs