Re: accessing mysql from Cocoa <newbie>
Re: accessing mysql from Cocoa <newbie>
- Subject: Re: accessing mysql from Cocoa <newbie>
- From: Matthew White <email@hidden>
- Date: Sat, 02 Jun 2001 12:50:09 +0000
That seems to have done it - maybe I need less coffee and more sleep.
Maybe I'll just add every file in the system to each project in the future
;-).
Works like a charm, Thanks Finlay.
Matt
>
On Saturday, June 2, 2001, at 01:35 pm, Matthew White wrote:
>
>
> /usr/bin/ld: warning prebinding disabled because of undefined symbols
>
> /usr/bin/ld: Undefined symbols:
>
> _compress
>
> _uncompress
>
> ...failed StandaloneExecutable.LinkUsingFileList
>
> /Users/matthew/mysqltest2/build/mysqltest2.app/Contents/MacOS/mysqltest2
>
> ...
>
>
>
> I have added the files from /usr/local/lib/mysql and
>
> /usr/local/lib/include
>
> to my project and also /usr/local/lib/mysql to the Library Search path
>
> in my
>
> target settings.
>
>
>
> Am I being incredibly dense and missing something here?
>
>
_compress and _uncompress are in zlib. You'll need to link against that,
>
too. It's in /usr/lib
>
>
[localhost:/usr/lib] finlayd% ls -l | grep libz
>
-rwxr-xr-x 1 root wheel 60380 May 1 21:12 libz.1.1.3.dylib
>
lrwxr-xr-x 1 root wheel 16 May 12 10:27 libz.1.dylib ->
>
libz.1.1.3.dylib
>
lrwxr-xr-x 1 root wheel 16 May 12 10:27 libz.dylib ->
>
libz.1.1.3.dylib
>
>
-- Finlay
>
--
Matthew White
Systems Development Manager
ipoints.co.uk ltd
http://www.ipoints.co.uk