database destroy failed !

Started by Ralf Weidemannabout 27 years ago1 messagesgeneral
Jump to latest
#1Ralf Weidemann
RalfW@Scalar.DE

Hi,

I'm running a fresh build of pgsql 6.4.2 on LinuxPPC
R4 (kernel 2.2pre4). Building went fine and I con-
figured pgsql with:

./configure --prefix=/opt/wdb --enable-hba
--enable-locale --with-tcl --with-perl --with-x

But after some playing I discovered that I can't de-
stroy any databases.

[wdba@onyx wdba]$ createdb test3
[wdba@onyx wdba]$ destroydb test3
ERROR: typeidTypeRelid: Invalid type - oid = 0
ERROR: typeidTypeRelid: Invalid type - oid = 0
destroydb: database destroy failed on test3.

Also I can't start pgaccess:

[wdba@onyx wdba]$ pgaccess
Error in startup script: couldn't load file "libpgtcl.so":
/opt/wdb/lib/libpgtcl.so: undefined symbol: crypt
while executing
"load libpgtcl.so"
(procedure "main" line 6)
invoked from within
"main $argc $argv"
(file "/opt/wdb/bin/pgaccess" line 4954)

[wdba@onyx wdba]$ ldd ../../lib/libpgtcl.so.2.0
libc.so.6 => /lib/libc.so.6 (0x30055000)
/lib/ld.so.1 => /lib/ld.so.1 (0x08000000)

libpgtcl.so is not linked against libcrypt, should it ?
What does this all mean ? Anyone running the latest
pgsql on LinuxPPC ?

Thanks,
Ralf