Received: from sims-ha.videotron.net (faure.videotron.net [205.151.222.100]) by hub.org (8.9.2/8.9.1) with ESMTP id TAA18282 for ; Tue, 30 Mar 1999 19:33:24 -0500 (EST) (envelope-from yguerin@pulp-fiction.com) Received: from pulp-fiction.com ([207.96.193.145]) by sims-ha.videotron.net (Sun Internet Mail Server sims.3.5.1998.03.08.20.27) with ESMTP id <0F9F006AKO3KB0@sims-ha.videotron.net> for pgsql-interfaces@postgresql.org; Tue, 30 Mar 1999 19:30:59 -0500 (EST) Date: Wed, 31 Mar 1999 00:29:39 +0000 From: Yves guerin Subject: HowTo Sender: root@sims-ha.videotron.net To: pgsql-interfaces@postgresql.org Reply-to: yguerin@pulp-fiction.com Message-id: <37016C72.B756084F@pulp-fiction.com> Organization: VirtueLAB MIME-version: 1.0 X-Mailer: Mozilla 4.07 [en] (X11; U; Linux 2.0.35 i586) Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7bit Hi Everybody, I face a problem and I would like to know how to: What I am running: - Linux intel RedHat 5.2 - Postgresql 6.3.2-10 - TclHttpd - cgi.tcl for my cgi-bin scripting language (Tcl) - postmater is running on port 5432 on host: localhost - junkbuster on localhost port 8000 (get off the pub from web pages) My problem: I would like to connect to a database with a cgi-bin script written with tcl via the libpgtcl.so.1, on my script I try to load the lib but I am not able to. What I did wrong ? because with pgaccess I have not problem at all to connect, I run my script with tclsh directly from a nxterm session without any problem (locally without passing by a http server). Thanks in advance for your help Yves -- /**************************************/ /* Linux: la vitamine "C" de votre PC */ /**************************************/ Yves Guerin Quebec Canada AIM: LinuxForce ICQ: UIN: 31783392 - Nickname: LinuxForce Courriel alternatif: yguerin@videotron.ca Fax: 1 (815) 371-1060 http://pages.infinit.net/yvguerin/vlab/index.htm http://www.linuxsupportline.com/~VirtueLAB/index.htm