Completely stuck - cannot get pgcrypto to work.

From: Richard Curtis <ck102399(at)stmail(dot)staffs(dot)ac(dot)uk>
To: pgsql-novice(at)postgresql(dot)org
Subject: Completely stuck - cannot get pgcrypto to work.
Date: 2003-03-21 19:15:31
Message-ID: 3E7B64D3.6000409@stmail.staffs.ac.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Hi all.
I have spent all afternoon trying to fix this problem and I am
getting nowhere.

I did a fresh install of Redhat 7.3, then installed Postgres 7.3.2.
The problem I have is no matter what I try, I get "ERROR: Load of file
/usr/local/pgsql/lib/pgcrypto.so failed:
/usr/local/pgsql/lib/pgcrypto.so: undefined symbol: px_get_random_bytes"

Can anyone help me resolve this problem ?

The exact commands I used to install and configure postgres are :

./configure
make
make install
adduser postgres
mkdir /usr/local/pgsql/data
chown postgres /usr/local/pgsql/data
su - postgres
/usr/local/pgsql/bin/initdb -D /usr/local/pgsql/data
/usr/local/pgsql/bin/postmaster -D /usr/local/pgsql/data >logfile 2>&1 &

and :
cd ./contrib/pgcrypto/
changed makefile to use "dev".
make
make install
make installcheck
all tests fails.

If however, I dont change the makefile, i.e. I leave it using "silly",
everything works!!!!

What am I doing wrong ?

Richard

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Mr. why? 2003-03-21 22:28:15 Expanded display (\x) seems to affect display of latin1 chars
Previous Message pcampaigne 2003-03-21 18:03:23 - permissions