pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Constantin Teodorescu <teo@flex.ro>
To: Jerald Jackson <jsjacks@primenet.com>
Cc: PostgreSQL Interfaces <pgsql-interfaces@postgresql.org>
Subject: Re: libpgtcl instructions - undefined symbol crypt
Date: Wed, 08 Apr 1998 16:57:49 +0300
Message-ID: <352B825D.A200BAB@flex.ro> (raw)
References: <Pine.LNX.3.95.980407085947.18034A-100000@flex.flex.ro>
	<352A0744.41B8638F@primenet.com>

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



Message-ID: <352B825D.A200BAB@flex.ro>
Permalink:  ../352B825D.A200BAB@flex.ro/
Also on:    postgresql.org/message-id/352B825D.A200BAB@flex.ro

 · 

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: teo@flex.ro, jsjacks@primenet.com
  Subject: Re: libpgtcl instructions - undefined symbol crypt
  In-Reply-To: <352B825D.A200BAB@flex.ro>

* 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