• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Cocoa build errors
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Re: Lex and yacc
  • Next by Date: creating sth like "System Preferences"
  • Previous by thread: Re: Any plans to have toolbar support in Interface Builder?
  • Next by thread: Re: Cocoa build errors
  • Index(es):
    • Date
    • Thread