Received: from localhost (maia-1.hub.org [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id A121A9FB38F for ; Thu, 1 Mar 2007 15:21:32 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-new, port 10024) with ESMTP id 40117-07 for ; Thu, 1 Mar 2007 15:21:18 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id 619809FB4D3 for ; Thu, 1 Mar 2007 15:21:18 -0400 (AST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.6/8.13.6) with ESMTP id l21JLGpn012825; Thu, 1 Mar 2007 14:21:16 -0500 (EST) To: "Peter K. Stys" cc: pgsql-interfaces@postgresql.org Subject: Re: libpq.a and Xcode on Mac OS X In-reply-to: <8B50CB22-C969-494B-9341-B570513C2638@ohri.ca> References: <8B50CB22-C969-494B-9341-B570513C2638@ohri.ca> Comments: In-reply-to "Peter K. Stys" message dated "Wed, 28 Feb 2007 16:47:08 -0500" Date: Thu, 01 Mar 2007 14:21:16 -0500 Message-ID: <12824.1172776876@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.058 tagged_above=0 required=5 tests=AWL, BAYES_50, SPF_HELO_PASS, SPF_PASS X-Spam-Level: X-Archive-Number: 200703/5 X-Sequence-Number: 6446 "Peter K. Stys" writes: > ... My test program builds and runs fine, links > against libpq.a no problem, but upon execution of a simple: > conn = PQconnectdb(conninfo); > (taken from the Postgres examples) the debugger stops in asm code > (presumably the library) with the error: > Cannot access memory at address 0x0. What conninfo string are you passing? regards, tom lane