Hi,
I'm trying to use libpq, the client library for PostgreSQL in a Cocoa app.
First thing, adding the header files: I tried adding the path to the PostgreSQL header files under User Header Search Path on my project's properties and then compile but for some reason XCode can't see them. The solution was to manually add the files and a copy of libpq.a to the project.
This worked, but now when I build I get an SSL error:
"_SSL_CTX_set_client_cert_cb", referenced from:
_pqsecure_initialize in libpq.a(fe-secure.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status
Some research shows that this is because there's a mismatch between the SSL headers and the SSL libraries. How can I find the right header files?