Cocoa build errors
Cocoa build errors
- Subject: Cocoa build errors
- From: Jeff LaMarche <email@hidden>
- Date: Fri, 12 Jul 2002 18:06:16 -0700
I'm trying to use the libcpg to access a PostgreSQL from a Cocoa application
(actually, to write a set of objective-c wrapper classes), and am having some
build problems that I'm having a hard time figuring out.
I've linked to the libcpg.a and the libssl.0.9.dylib (which is referenced
in libcpg), and have a small bit of code taken from the PostgreSQL documentation.
When I go to compile, I get the following build error:
/usr/bin/ld: Undefined symbols:
_PQgetValue
This seems to tell me that I'm missing a library, so I linked to all the other
Postgresql libraries (even ones I know aren't relevant) - libpq.a, libpgeasy.
a, libpg++.a, libpsqlodbc.a, but continue to get the same error.
The PQ naming convention indicates that it's looking for a symbol from one
of the PostgreSQL libraries, so I'm confused as to why I am getting this error.
Anyone have any thoughts or successfully gotten this to work?
- Jeff
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.