Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

Re: libpq.a and Xcode on Mac OS X



"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



Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group