Re: pgsql: Fix contrib/pgcrypto to autoconfigure for

From: Kris Jurka <books(at)ejurka(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-committers(at)postgresql(dot)org
Subject: Re: pgsql: Fix contrib/pgcrypto to autoconfigure for
Date: 2005-07-06 06:40:32
Message-ID: Pine.BSO.4.56.0507060137580.13716@leary.csoft.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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 Content-Type Size
netbsd.dlopen.message.patch text/plain 792 bytes

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian 2005-07-06 14:45:12 pgsql: Update description of GUC full_page_writes.
Previous Message Tom Lane 2005-07-06 05:20:01 Re: pgsql: Fix contrib/pgcrypto to autoconfigure for OpenSSL when