Re: accessing mysql from Cocoa <newbie>
Re: accessing mysql from Cocoa <newbie>
- Subject: Re: accessing mysql from Cocoa <newbie>
- From: Finlay Dobbie <email@hidden>
- Date: Sat, 2 Jun 2001 13:39:21 +0100
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