pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bill Brandt <brandtwr-pgsql@draaw.net>
To: Brent Waldrop <waldrop_brent@hotmail.com>
Cc: pgsql-interfaces@postgreSQL.org
Subject: Re: [INTERFACES] libpgtcl.so
Date: Thu, 3 Jun 1999 16:00:34 -0400
Message-ID: <19990603160033.A7563@draaw.net> (raw)
In-Reply-To: <19990603190039.37401.qmail@hotmail.com>
References: <19990603190039.37401.qmail@hotmail.com>

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/



view thread (11+ messages)  latest in thread

Message-ID: <19990603160033.A7563@draaw.net>
Permalink:  ../19990603160033.A7563@draaw.net/
Also on:    postgresql.org/message-id/19990603160033.A7563@draaw.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: brandtwr-pgsql@draaw.net, waldrop_brent@hotmail.com
  Subject: Re: [INTERFACES] libpgtcl.so
  In-Reply-To: <19990603160033.A7563@draaw.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox