Skip site navigation (1) Skip section navigation (2)

Re: [INTERFACES] Pgaccess & Postgresql 6.3

From: Andreas Klemm <andreas(at)klemm(dot)gtn(dot)com>
To: Carlo Vitolo <carlo(at)ilr(dot)it>, pgsql-interfaces(at)postgreSQL(dot)org
Subject: Re: [INTERFACES] Pgaccess & Postgresql 6.3
Date: 1998-03-22 16:07:59
Message-ID: 19980322170759.41607@klemm.gtn.com (view raw or flat)
Thread:
Lists: pgsql-interfaces
On Tue, Mar 17, 1998 at 01:42:59PM +0100, Carlo Vitolo wrote:
> >The line starting with ! needs to have -lcrypt on the end.
> >
> >Re-compile this file, and then drop it into your main lib dir. It done the
> >trick for me.
> >
> >I got the info from the postgress {INTERFACES} mailing archive.
> >Date -Tues 03 Mar 1998, Goran Thyni <goran(at)bildbasen(dot)se>
> >
> >I hope this helps you.
> >
> This helps me, thanks.

Hi !

I still have the problem after rebuilding libpq with the crypt
library. Now the error is:

Error in startup script: couldn't find procedure Pq_Init
    while executing
"load /usr/local/pgsql/lib/libpq.so"
    (procedure "main" line 3)
    invoked from within
"main $argc $argv"
    (file "/usr/local/bin/pgaccess" line 4507)

BTW, additionally I had to load libpq explicitely before libpgtcl ...

--- pgaccess.tcl.orig   Sat Mar 14 13:11:38 1998
+++ pgaccess.tcl        Sun Mar 22 17:04:30 1998
@@ -1,4 +1,4 @@
-#!/usr/bin/wish
+#! !!LOCALBASE!!/bin/wish8.0
 #############################################################################
 # Visual Tcl v1.11 Project
 #
@@ -2539,7 +2539,8 @@

 proc {main} {argc argv} {
 global pref newdbname newpport newhost dbc
-load libpgtcl.so
+load !!LOCALBASE!!/pgsql/lib/libpq.so
+load !!LOCALBASE!!/pgsql/lib/libpgtcl.so
 catch {draw_tabs}
 load_pref
 if {$pref(autoload) && ($pref(lastdb)!="")} {


-- 
Andreas Klemm   http://www.FreeBSD.ORG/~andreas
powered by ,,symmetric multiprocessor FreeBSD''

In response to

Responses

pgsql-interfaces by date

Next:From: The Hermit HackerDate: 1998-03-22 17:11:49
Subject: Re: remote machine cant see postgresql with ODBC
Previous:From: Andreas KlemmDate: 1998-03-22 14:22:33
Subject: problems running pgaccess 0.73 and 0.84 with new postgresql 6.3

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group