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@bildbasen.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''