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