Received: from draaw.net (puma.draaw.net [199.234.237.21]) by hub.org (8.9.3/8.9.3) with SMTP id QAA12658 for ; Thu, 3 Jun 1999 16:00:56 -0400 (EDT) (envelope-from bbrandt@draaw.net) Received: (qmail 7611 invoked by uid 501); 3 Jun 1999 20:00:34 -0000 Date: Thu, 3 Jun 1999 16:00:34 -0400 From: Bill Brandt To: Brent Waldrop Cc: pgsql-interfaces@postgreSQL.org Subject: Re: [INTERFACES] libpgtcl.so Message-ID: <19990603160033.A7563@draaw.net> References: <19990603190039.37401.qmail@hotmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95us In-Reply-To: <19990603190039.37401.qmail@hotmail.com>; from Brent Waldrop on Thu, Jun 03, 1999 at 02:01:58PM -0500 I'm not familiar with using pgaccess (I don't run X so I'm guessing from the wish command it's an tk frontend to replace psql.) However, I think your problem is that you need libcrypt.so loaded and wish does not have this included. Unfortunately libcrypt causes a warning error msg to be displayed when you load it. I've used this load method for quite a while with irc eggdrop applications. A workaround I found was to do the following first: catch {load libcrypt.so} The catch keeps the warning message from causing a serious issue. If anyone else has any better methods, I'd be interrested in hearing them. Bill On Thu, Jun 03, 1999 at 02:01:58PM -0500, Brent Waldrop wrote: >Hi everyone i am having trouble running pgaccess and wandering if anyone >knows whats going on by the problem im getting. when i try to run wish -f >pgaccess.tcl >i get an error that says >Error in startup script: couldn't loadl file "libpgtcl.so": >/usr/local/pgsql/lib/libpgtcl.so: > undefined symbol: crypt > while executing >"load libpgtcl.so" > (procedure "main" line 6) >"main $argc $argv" > (file "pgaccess.tcl" line 4954) > >I don't know if this helps but i have a newly installed redhat 6 system with >tcl/tk 8.0. I tried to go the postgre source directory where libpgtcl is and >do a make install and it still did not solve the problem. I even copied >libpgtcl.so from /usr/local/pgsql/lib/ to /usr/lib and still no go if >someone could please tell me whats going on it would be much appreciated. > >thanks >Brent > Bill Brandt brandtwr@draaw.net http://www.draaw.net/