advertisement

Article:
  Open Database Connectivity in Jaguar, Part 2
Subject:   odbc and os x
Date:   2004-04-18 14:51:04
From:   tedpet
I am having a problem trying to get odbc working in 10.3.3.


I have installed the iodbc sdk, postgresql (which needs both bison and readline). when I download and try to compile the psqlodbc driver I get these errors...


my config line was ./configure --with-iodbc


this looks like core foundation stuff but I have no clue what to do... I have tried this on various machines. basically a newly installed os x 10.3.3, installed developers tools 1.1, then postgresql.


please any ideas what I should be doing?


Ted


gcc -r -keep_private_externs -nostdlib -o
.libs/psqlodbc.so-master.o info.lo bind.lo
columninfo.lo connection.lo convert.lo drvconn.lo
environ.lo execute.lo lobj.lo win_md5.lo misc.lo
options.lo pgtypes.lo psqlodbc.lo qresult.lo
results.lo socket.lo parse.lo statement.lo tuple.lo
tuplelist.lo dlg_specific.lo odbcapi.lo multibyte.lo
gpps.lo && gcc -bundle -o .libs/psqlodbc.so
.libs/psqlodbc.so-master.o -L/usr/local/lib
-liodbcinst -lpthread -lc
ld: Undefined symbols:
_CFBundleCopyExecutableURL
_CFBundleCopyResourceURL
_CFBundleGetBundleWithIdentifier
_CFRelease
_CFStringGetCString
_CFURLCopyFileSystemPath
___CFStringMakeConstantString
make[1]: *** [psqlodbc.la] Error 1
make: *** [all] Error 2

-->