From: Tom Lane <tgl@sss.pgh.pa.us>
To: eljot <eljot@elkomtech.com.pl>
Cc: pgsql-interfaces@postgresql.org
Subject: Re: unresolved externals when linking app with libpq 8.03
Date: Tue, 28 Jun 2005 10:01:25 -0400
Message-ID: <14766.1119967285@sss.pgh.pa.us> (raw)
In-Reply-To: <42C10512.60100@elkomtech.com.pl>
References: <42C10512.60100@elkomtech.com.pl>
eljot <eljot@elkomtech.com.pl> writes:
> I was able to link my postgresql apps successfully when I was using
> PostgreSQL version 8.0.1 or earlier. Now (v. 8.0.3) the linker tells me
> there is many unresolved externals.
> :974: undefined reference to `SSL_pending'
> undefined reference to `PEM_read_DHparams'
> undefined reference to `DH_size'
> undefined reference to `PEM_read_bio_DHparams'
> undefined reference to `BIO_free'
> undefined reference to `SSL_read'
> undefined reference to `X509_NAME_oneline'
> undefined reference to `CRYPTO_num_locks'
> undefined reference to `krb5_cc_get_principal'
> undefined reference to `error_message'
Apparently you've configured the new Postgres build with SSL and
Kerberos support, which you didn't have in your 8.0.1 build. The
path of least resistance might be to go back to the old configuration.
Alternatively, look at psql with ldd to find out what libraries it
depends on.
regards, tom lane
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 using the --to and --cc options:
reply via email
To: pgsql-interfaces@postgresql.org
Cc: tgl@sss.pgh.pa.us, eljot@elkomtech.com.pl
Subject: Re: unresolved externals when linking app with libpq 8.03
In-Reply-To: <14766.1119967285@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