Re: libpgtcl instructions - undefined symbol crypt

From: Constantin Teodorescu <teo(at)flex(dot)ro>
To: Jerald Jackson <jsjacks(at)primenet(dot)com>
Cc: PostgreSQL Interfaces <pgsql-interfaces(at)postgresql(dot)org>
Subject: Re: libpgtcl instructions - undefined symbol crypt
Date: 1998-04-08 13:57:49
Message-ID: 352B825D.A200BAB@flex.ro
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

Jerald Jackson wrote:
>
> [root(at)jsjacks pg]# wish -f ./pgaccess.tcl
> Error in startup script: couldn't load file "libpgtcl.so":
> /usr/local/lib/libpq.so: undefined symbol: crypt
> while executing
> "load libpgtcl.so"
> (procedure "main" line 3)
> invoked from within
> "main $argc $argv"
> (file "./pgaccess.tcl" line 4521)
> --------------------------------------------------
>
> Now I can get the pgaccess.tcl script to work by commenting out the
> "load libpgtcl.so"
> line, but is that going to cause me problems?

It seems that some port to FreeBSD didn't include the crypt library when
compiling libpgtcl interface and a -lcrypt has to be introduced in the
Makefile when linking the library.
Your error message seems to point to the same bug.
Unfortunately, on my distribution, RedHat 4.2 the interface libpgtcl.so
has fine and I didn't need that patch.

Maybe there is someone on this list that could help you.
Please let me know when you will be able to run PgAccess.

--
Constantin Teodorescu
FLEX Consulting Braila, ROMANIA

Browse pgsql-interfaces by date

  From Date Subject
Next Message Tom Good 1998-04-09 20:03:03 ecpg-gets()
Previous Message Peter T Mount 1998-04-08 05:44:45 Re: [QUESTIONS] JDBC driver complications