• 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
Re: Cocoa build errors
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Cocoa build errors
      • From: Jeff LaMarche <email@hidden>
  • Prev by Date: Re: Converting TIFF to multipage pdf
  • Next by Date: Re: how to hide/show/bring to front apps with Cocoa?
  • Previous by thread: Cocoa build errors
  • Next by thread: Re: Cocoa build errors
  • Index(es):
    • Date
    • Thread