Received: from localhost (maia-4.hub.org [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id F261C9FA4F4 for ; Sat, 28 Jul 2007 16:53:11 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 62826-07 for ; Sat, 28 Jul 2007 16:53:09 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from elasmtp-masked.atl.sa.earthlink.net (elasmtp-masked.atl.sa.earthlink.net [209.86.89.68]) by postgresql.org (Postfix) with ESMTP id 20FDA9FA4F0 for ; Sat, 28 Jul 2007 16:53:09 -0300 (ADT) Received: from [4.238.177.220] (helo=mindspring.com) by elasmtp-masked.atl.sa.earthlink.net with asmtp (TLSv1:AES256-SHA:256) (Exim 4.34) id 1IEsLX-0006IG-9R; Sat, 28 Jul 2007 15:53:07 -0400 Received: (from lbayuk@localhost) by mindspring.com (8.13.8/8.13.8) id l6SJlZbo001375; Sat, 28 Jul 2007 15:47:35 -0400 Date: Sat, 28 Jul 2007 15:47:35 -0400 From: L Bayuk To: jlt@wvinter.net Cc: pgsql-interfaces@postgresql.org Subject: Re: postgresql-tcl Message-ID: <20070728194735.GA1367@mail.mindspring.com> References: <67CFE083-DBE8-4FFC-92EC-CCD8E396391E@mac.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <67CFE083-DBE8-4FFC-92EC-CCD8E396391E@mac.com> User-Agent: Mutt/1.4.2.2i X-ELNK-Trace: 7a0205cf9d42df0a5e89bb4777695beb69025943178dce0b7fa6675a202b0226868fcb608b843254350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c X-Originating-IP: 4.238.177.220 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.576 tagged_above=0 required=5 tests=AWL=-0.239, BAYES_40=-0.185, FB_WORD1_END_DOLLAR=1 X-Spam-Level: X-Archive-Number: 200707/6 X-Sequence-Number: 6590 On Fri, Jul 27, 2007 at 03:49:02PM -0400, JLT wrote: > Can someone tell me how to use the libpgtcl in the OS X 10.4.9 system > When I try load libpgtcl it tells me it is not a dylib > > TEST > jlt$ tclsh8.4 > % load /usr/local/pgsql/lib/libpgtcl.so > no suitable image found. Did find: > /usr/local/pgsql/lib/libpgtcl.so: not a dylib There are 3 Tcl interfaces to PostgreSQL, all hosted on pgfoundry.org. pgintcl is my pure-Tcl version. You might want to try it at least to get started, as it should run anywhere you have Tcl. For best performance, use one of the C implementations: pgtcl or pgtclng. (Both of these compile into "libpgtcl", by the way.) But these will need to be compiled for your system type. Pgtclng is mine, but I don't have access to an OS X system so I can't test it or build it for OS X. The Pgtcl project might have a libpgtcl built for your OS X. Where did your libpgtcl.so come from?