Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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: netbsd.dlopen.message.patch
Description: text/plain (792 bytes)

In response to

Responses

pgsql-committers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group