Re: libpq.a and Xcode on Mac OS X - Mailing list pgsql-interfaces

From Tom Lane
Subject Re: libpq.a and Xcode on Mac OS X
Date
Msg-id 12824.1172776876@sss.pgh.pa.us
Whole thread Raw
In response to libpq.a and Xcode on Mac OS X  ("Peter K. Stys" <pstys@ohri.ca>)
List pgsql-interfaces
"Peter K. Stys" <pstys@ohri.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


pgsql-interfaces by date:

Previous
From: "Chris Long"
Date:
Subject: ruby-postgres for Ruby 1.9
Next
From: John DeSoi
Date:
Subject: Re: libpq.a and Xcode on Mac OS X