Received: from localhost (maia-1.hub.org [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id ADA489FB91C for ; Tue, 31 Jul 2007 23:05:41 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-maia, port 10024) with ESMTP id 38001-10 for ; Tue, 31 Jul 2007 23:05:37 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from elasmtp-banded.atl.sa.earthlink.net (elasmtp-banded.atl.sa.earthlink.net [209.86.89.70]) by postgresql.org (Postfix) with ESMTP id 6FFB19FB508 for ; Tue, 31 Jul 2007 23:05:38 -0300 (ADT) Received: from [4.90.211.213] (helo=mindspring.com) by elasmtp-banded.atl.sa.earthlink.net with asmtp (TLSv1:AES256-SHA:256) (Exim 4.34) id 1IG3ag-0007LC-7w; Tue, 31 Jul 2007 22:05:35 -0400 Received: (from lbayuk@localhost) by mindspring.com (8.13.8/8.13.8) id l7123tl6006890; Tue, 31 Jul 2007 22:03:55 -0400 Date: Tue, 31 Jul 2007 22:03:55 -0400 From: L Bayuk To: Brett Schwarz Cc: JL , pgsql-interfaces@postgresql.org Subject: Re: postgresql-tcl Message-ID: <20070801020355.GA1612@mail.mindspring.com> References: <771940.94025.qm@web38901.mail.mud.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <771940.94025.qm@web38901.mail.mud.yahoo.com> User-Agent: Mutt/1.4.2.2i X-ELNK-Trace: 7a0205cf9d42df0a5e89bb4777695beb69025943178dce0b775272b44a2802aaf9b88793ad4905df350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c X-Originating-IP: 4.90.211.213 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.027 tagged_above=0 required=5 tests=AWL=0.212, BAYES_40=-0.185 X-Spam-Level: X-Archive-Number: 200707/10 X-Sequence-Number: 6594 On Tue, Jul 31, 2007 at 07:09:55AM -0700, Brett Schwarz wrote: > > If anyone is interested, there is a pre-compiled Mac OSX pgtcl at the link below. > > John, > > That's not the pgtcl project that I work on, so I'll let L Bayuk explain further, but it looks like you are including ssl and crypto libs, but perhaps they aren't on the platform or they can't be found. If you don't need those, then you can get rid of the EXTRA_LIBS part (I think). Otherwise, you will need to make sure they are on your platform, and can be found. > > BTW, the lib I built, did *not* include these (ssl crypto). I might try to add them though... Well, if Brett has a Mac OSX library, by all means use it. As for the problems linking pgtclng, I think EXTRA_LIBS doesn't do anything any more. The steps in the pgtclng manual for Mac OSX are from a while ago when somebody sent them to me, but the build process changed when I upgraded to a newer version of the TEA build system. Yet this is probably not a Mac OSX-specific problem. I'm thinking that if your libpq was built with SSL, then you have to include SSL and crypto libraries whenever linking anything with libpq. So you need a way to add libraries, but I've never tried it. A quick look makes me think LIBS= (rather than EXTRA_LIBS=) will work, but this is something I need to look at.