Kenji Fujita wrote:
>
> Hello,
>
> I have tried running pgaccess with the command line:
>
> wish -f pgaccess.tcl
>
> When I do this, I get the following error message:
>
> Error in startup script: couldn't load file "libpgtcl.so":
> /usr/lib/libpgtcl.so: undefined symbol: crypt
> while executing
> "load libpgtcl.so"
> (procedure "main" line 3)
> invoked from within
> "main $argc $argv"
> (file "pgaccess.tcl" line 4606)
>
> I have recompiled postgreSQL 6.3 and moved libtcl.so to /usr/lib.
> I am running RedHat 5.0. Can anyone suggest how I can get this
> to work?
When compiling src/interfaces/libpgtcl you must include a -lcrypt option
when linking in Makefile.
Or, just get the precompiled libraries for RedHat 5.0 and PostgreSQL
6.3.2 from ftp://ftp.flex.ro/pub/pgaccess
--
Constantin Teodorescu
FLEX Consulting Braila, ROMANIA