Re: pgsql: Fix contrib/pgcrypto to autoconfigure for OpenSSL when - Mailing list pgsql-committers

From Tom Lane
Subject Re: pgsql: Fix contrib/pgcrypto to autoconfigure for OpenSSL when
Date
Msg-id 28079.1120669087@sss.pgh.pa.us
Whole thread Raw
In response to Re: pgsql: Fix contrib/pgcrypto to autoconfigure for  (Kris Jurka <books@ejurka.com>)
Responses Re: pgsql: Fix contrib/pgcrypto to autoconfigure for
List pgsql-committers
Kris Jurka <books@ejurka.com> writes:
> Actually it looks like the netbsd dynloader code is at fault.  The
> attached patch gives me:

Patch applied, thanks.

> ERROR:  could not load library "/usr/home/jurka/tmp/pg81/lib/postgresql/pgcrypto.so":
> dlopen '/usr/home/jurka/tmp/pg81/lib/postgresql/pgcrypto.so' failed.
> (/usr/home/jurka/tmp/pg81/lib/postgresql/pgcrypto.so: Undefined PLT
> symbol "DES_set_key" (reloc type = 7, symnum = 75))

Hm, so it seems that libssl or libcrypto isn't getting loaded in
properly.  What does ldd (or local equivalent) say about pgcrypto.so's
dependencies?  Are these libraries properly mentioned on the command
line when pgcrypto.so is linked?

            regards, tom lane

pgsql-committers by date:

Previous
From: tgl@svr1.postgresql.org (Tom Lane)
Date:
Subject: pgsql: Sync dlopen error handling for the *BSDs ...
Next
From: Kris Jurka
Date:
Subject: Re: pgsql: Fix contrib/pgcrypto to autoconfigure for