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

Re: pgsql: Fix contrib/pgcrypto to autoconfigure for OpenSSL when

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Kris Jurka <books(at)ejurka(dot)com>
Cc: pgsql-committers(at)postgresql(dot)org
Subject: Re: pgsql: Fix contrib/pgcrypto to autoconfigure for OpenSSL when
Date: 2005-07-06 16:58:07
Message-ID: 28079.1120669087@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-committers
Kris Jurka <books(at)ejurka(dot)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

In response to

Responses

pgsql-committers by date

Next:From: Kris JurkaDate: 2005-07-06 18:46:20
Subject: Re: pgsql: Fix contrib/pgcrypto to autoconfigure for
Previous:From: Tom LaneDate: 2005-07-06 16:55:58
Subject: pgsql: Sync dlopen error handling for the *BSDs ...

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