Received: from flex.flex.ro (flex.flex.ro [193.230.255.2]) by hub.org (8.8.8/8.7.5) with ESMTP id KAA24124 for ; Wed, 8 Apr 1998 10:05:00 -0400 (EDT) Received: from flex.flex.ro (localhost [127.0.0.1]) by flex.flex.ro (8.8.8/8.7.3) with SMTP id QAA07405; Wed, 8 Apr 1998 16:57:49 +0300 Sender: teo@flex.flex.ro Message-ID: <352B825D.A200BAB@flex.ro> Date: Wed, 08 Apr 1998 16:57:49 +0300 From: Constantin Teodorescu Organization: FLEX Consulting Braila X-Mailer: Mozilla 3.04Gold (X11; I; Linux 2.0.32 i586) MIME-Version: 1.0 To: Jerald Jackson CC: PostgreSQL Interfaces Subject: Re: libpgtcl instructions - undefined symbol crypt References: <352A0744.41B8638F@primenet.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Jerald Jackson wrote: > > [root@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