Undefined symbol "elog"

From: "Dan Langille" <dan(at)langille(dot)org>
To: pgsql-hackers(at)postgresql(dot)org
Cc: Marko Kreen <marko(at)l-t(dot)ee>
Subject: Undefined symbol "elog"
Date: 2004-01-31 13:12:25
Message-ID: 401B6369.24835.19D74868@localhost
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi folks,

I upgraded two servers from 7.3.* to 7.4.1. In both cases, the
pgcrypto functions failed to migrate.. I used pg_dumpall. This is
the cause of the problem:

freshports=# CREATE FUNCTION digest (text, text) RETURNS bytea
freshports-# AS '$libdir/pgcrypto', 'pg_digest'
freshports-# LANGUAGE c;
ERROR: could not load library
"/usr/local/lib/postgresql/pgcrypto.so": dlopen
'/usr/local/lib/postgresql/pgcrypto.so' failed. (/usr/local/lib/postgresql/pgcrypto.so:
Undefined symbol "elog")

Recompiling and installing contrib/pgcrypto made the problem go away.
I found no mention of this problem in the archives.

FWIW: I was using the FreeBSD port on 4.9-STABLE.

--
Dan Langille : http://www.langille.org/
BSDCan - http://www.bsdcan.org/

Browse pgsql-hackers by date

  From Date Subject
Next Message Dan Langille 2004-01-31 13:15:56 Undefined symbol "elog"
Previous Message Tom Lane 2004-01-31 04:54:45 Re: Disaster!