Received: from news1.gtn.com (news1.gtn.com [192.109.159.3]) by hub.org (8.8.8/8.7.5) with ESMTP id MAA12745 for ; Sun, 22 Mar 1998 12:13:50 -0500 (EST) Received: (from uucp@localhost) by news1.gtn.com (8.8.6/8.8.6) with UUCP id RAA08342; Sun, 22 Mar 1998 17:30:11 +0100 (MET) Received: (from andreas@localhost) by klemm.gtn.com (8.8.8/8.8.7) id RAA04048; Sun, 22 Mar 1998 17:08:00 +0100 (CET) (envelope-from andreas) Message-ID: <19980322170759.41607@klemm.gtn.com> Date: Sun, 22 Mar 1998 17:07:59 +0100 From: Andreas Klemm To: Carlo Vitolo , pgsql-interfaces@postgreSQL.org Subject: Re: [INTERFACES] Pgaccess & Postgresql 6.3 References: <199803171248.NAA19966@linuxbox.ilrspa.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.89.1i In-Reply-To: <199803171248.NAA19966@linuxbox.ilrspa.com>; from Carlo Vitolo on Tue, Mar 17, 1998 at 01:42:59PM +0100 X-Disclaimer: A free society is one where it is safe to be unpopular X-Operating-System: FreeBSD 3.0-CURRENT SMP 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 > > > >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''