Re: Cocoa build errors
Re: Cocoa build errors
- Subject: Re: Cocoa build errors
- From: Matt Neuburg <email@hidden>
- Date: Sat, 13 Jul 2002 13:00:48 -0700
On Fri, 12 Jul 2002 18:06:16 -0700, Jeff LaMarche <email@hidden> said:
>
>
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)
Doing the same thing with MySQL I found that you have to explicitly tell
the target the library search path. m.
--
matt neuburg, phd = email@hidden,
http://www.tidbits.com/matt
pantes anthropoi tou eidenai oregontai phusei
Subscribe to TidBITS! It's free and smart.
http://www.tidbits.com/
_______________________________________________
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.