From: Tom Lane <tgl@sss.pgh.pa.us>
To: Tim <tim@kitswv.com>
Cc: pgsql-bugs@postgreSQL.org
Subject: Re: error when installing 9.3.0 on Slackware using slackbuilds
Date: Wed, 09 Nov 2016 17:14:52 -0500
Message-ID: <31269.1478729692@sss.pgh.pa.us> (raw)
In-Reply-To: <CAGRKEZc1NhN0HAaQCzgK8fJuaL_CrTZfHkPimOfsoAUxpyNDew@mail.gmail.com>
References: <CAGRKEZe7t_CYuUhG42dQ3vj30MAA=aoo+nwkZ0BNWGZUM_0ffQ@mail.gmail.com>
<27315.1478723469@sss.pgh.pa.us>
<CAGRKEZc1NhN0HAaQCzgK8fJuaL_CrTZfHkPimOfsoAUxpyNDew@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
[ please keep the list cc'd ]
Tim <tim@kitswv.com> 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: tgl@sss.pgh.pa.us, tim@kitswv.com
Subject: Re: error when installing 9.3.0 on Slackware using slackbuilds
In-Reply-To: <31269.1478729692@sss.pgh.pa.us>
References: <CAGRKEZe7t_CYuUhG42dQ3vj30MAA=aoo+nwkZ0BNWGZUM_0ffQ@mail.gmail.com> <27315.1478723469@sss.pgh.pa.us> <CAGRKEZc1NhN0HAaQCzgK8fJuaL_CrTZfHkPimOfsoAUxpyNDew@mail.gmail.com> <31269.1478729692@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox