Re: unresolved externals when linking app with libpq 8.03

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: eljot <eljot(at)elkomtech(dot)com(dot)pl>
Cc: pgsql-interfaces(at)postgresql(dot)org
Subject: Re: unresolved externals when linking app with libpq 8.03
Date: 2005-06-28 14:01:25
Message-ID: 14766.1119967285@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

eljot <eljot(at)elkomtech(dot)com(dot)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

In response to

Responses

Browse pgsql-interfaces by date

  From Date Subject
Next Message eljot 2005-06-29 11:22:46 Re: unresolved externals when linking app with libpq
Previous Message Ingo Luebken 2005-06-28 13:35:50 ADO.net OleDbConnection only available via Port=5432, no other ports are valid