X-Original-To: pgsql-interfaces-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 18F7C9DCBC7 for ; Sat, 11 Feb 2006 20:01:14 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 02524-07 for ; Sat, 11 Feb 2006 20:01:16 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.188]) by postgresql.org (Postfix) with ESMTP id CCBE39DCB8B for ; Sat, 11 Feb 2006 20:01:11 -0400 (AST) Received: from [84.173.52.127] (helo=[192.168.1.10]) by mrelayeu.kundenserver.de (node=mrelayeu6) with ESMTP (Nemesis), id 0ML29c-1F84fy1kb5-0004Q2; Sun, 12 Feb 2006 01:01:14 +0100 Message-ID: <43EE7ACB.5060808@online.de> Date: Sun, 12 Feb 2006 01:01:15 +0100 From: Christoph Zwerschke User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041206 Thunderbird/1.0 Mnenhy/0.6.0.104 MIME-Version: 1.0 To: pgsql-interfaces@postgresql.org Subject: Re: Finding the pqlib version References: <200602111740.k1BHeMY01646@candle.pha.pa.us> In-Reply-To: <200602111740.k1BHeMY01646@candle.pha.pa.us> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: kundenserver.de abuse@kundenserver.de login:d4c19f41f9a9703255691874c1441822 X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.08 required=5 tests=[AWL=0.080] X-Spam-Score: 0.08 X-Spam-Level: X-Archive-Number: 200602/34 X-Sequence-Number: 5998 Bruce Momjian wrote: > I was wondering that myself. I am thinking you would need to use > dlopen() to check for the symbol. Because the libpq version could > change after you compile, I can't see how you could make it a > configure check unless you said you don't allow changes to libpq > after the build. The situation I was talking about is that you have a pre-compiled Python and PostgreSQL installed on your system, together with their header files, but you do not have the full source of Python and PostgreSQL available. I want to be able to compile PyGreSQL as a Python extension which is using functions from the python.dll and the libpq.dll, assuming that the installed header files match the installed dlls. -- Christoph