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

From Kris Jurka
Subject Re: pgsql: Fix contrib/pgcrypto to autoconfigure for
Date
Msg-id Pine.BSO.4.56.0507060137580.13716@leary.csoft.net
Whole thread Raw
In response to Re: pgsql: Fix contrib/pgcrypto to autoconfigure for OpenSSL when  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: pgsql: Fix contrib/pgcrypto to autoconfigure for OpenSSL when  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-committers

On Wed, 6 Jul 2005, Tom Lane wrote:

> Not a lot of help there:
>
> ERROR:  could not load library "/usr/home/pgfarm/netbsd/HEAD/inst/lib/postgresql/pgcrypto.so": dlopen
(/usr/home/pgfarm/netbsd/HEAD/inst/lib/postgresql/pgcrypto.so)failed 
>
> On most Unixen that I've dealt with, this sort of shared-library load
> failure is accompanied by some actually-useful detail messages on
> stderr.  It looks like the buildfarm infrastructure is losing that
> detail :-(
>

Actually it looks like the netbsd dynloader code is at fault.  The
attached patch gives me:

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))

Note also that openbsd's dynloader is missing this error reporting.

Kris Jurka

Attachment

pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: Re: pgsql: Fix contrib/pgcrypto to autoconfigure for OpenSSL when
Next
From: momjian@svr1.postgresql.org (Bruce Momjian)
Date:
Subject: pgsql: Update description of GUC full_page_writes.