Re: [INTERFACES] Pgaccess & Postgresql 6.3

Поиск
Список
Период
Сортировка
От Andreas Klemm
Тема Re: [INTERFACES] Pgaccess & Postgresql 6.3
Дата
Msg-id 19980322170759.41607@klemm.gtn.com
обсуждение исходный текст
Ответ на Re: [INTERFACES] Pgaccess & Postgresql 6.3  (Carlo Vitolo <carlo@ilr.it>)
Список 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@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''

В списке pgsql-interfaces по дате отправления:

Предыдущее
От: The Hermit Hacker
Дата:
Сообщение: Re: remote machine cant see postgresql with ODBC
Следующее
От: Bruce Stephens
Дата:
Сообщение: Re: [INTERFACES] pgtclsh