Re: libpq.a and Xcode on Mac OS X

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Peter K(dot) Stys" <pstys(at)ohri(dot)ca>
Cc: pgsql-interfaces(at)postgresql(dot)org
Subject: Re: libpq.a and Xcode on Mac OS X
Date: 2007-03-01 19:21:16
Message-ID: 12824.1172776876@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

"Peter K. Stys" <pstys(at)ohri(dot)ca> 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

In response to

Browse pgsql-interfaces by date

  From Date Subject
Next Message John DeSoi 2007-03-01 21:09:37 Re: libpq.a and Xcode on Mac OS X
Previous Message Tom Lane 2007-03-01 15:26:00 Re: postgres 8.1.8 transaction ID wrapper around related problem