|
From: Ted T. Jr <tth...@op...> - 2014-08-18 21:10:16
|
On Aug 18, 2014, at 08:40 AM, Sandeep Thakkar <san...@en...> wrote: > Hi > > On our Mac OS X 10.8, the iodbc-config returns the following value: > > $ /usr/bin/iodbc-config --libs > -L/usr/lib -liodbc -liodbcinst > > I was wondering why it should return "-L/usr/lib". Because of this, one of the packages that we build (psqlODBC) with iodbc, picks the dependent library from this location. Hi, Sandeep -- Note that Mountain Lion (OS X 10.8) and Mavericks (10.9) both still ship from Apple with very old revisions of iODBC, which lack patches necessary for each of these OS X versions. Also -- even though Apple ships only the iODBC dylibs, they recommend linkage to Frameworks, which are delivered (along with the updated dylibs) by the precompiled SDKs mentioned below. My immediate guess is that you have not installed the latest updates of the iODBC SDK (3.52.9, downloadable as source from GitHub via iodbc.org -- http://www.iodbc.org/dataspace/iodbc/wiki/iODBC/Downloads#Stable_Version_3529 -- or installable as precompiled binaries with any current driver from OpenLink Software, e.g., the Generic Client component of our Multi-Tier solution -- http://download.openlinksw.com/components/6.3/universal-apple-macosx10.5-32/mvo3czzz.dmg Is is also likely that you have not installed the environmental patch provided here -- http://www.iodbc.org/dataspace/iodbc/wiki/iODBC/Downloads#Mac_OS_X -- as iodbc-usr-sdk.zip -- http://www.iodbc.org/downloads/iODBC/iodbc-usr-sdk.zip On my own Mavericks machine, for instance, where I have installed the latest iODBC *and* run the environmental patch, I have no /usr/bin/iodbc-config, but instead -- $ /usr/local/iODBC/bin/iodbc-config --libs -L/usr/local/iODBC/lib -liodbc -liodbcinst I hope this is helpful. Ted -- A: Yes. http://www.guckes.net/faq/attribution.html | Q: Are you sure? | | A: Because it reverses the logical flow of conversation. | | | Q: Why is top posting frowned upon? Ted Thibodeau, Jr. // voice +1-781-273-0900 x32 Senior Support & Evangelism // mailto:tth...@op... // http://twitter.com/TallTed OpenLink Software, Inc. // http://www.openlinksw.com/ 10 Burlington Mall Road, Suite 265, Burlington MA 01803 Weblog -- http://www.openlinksw.com/blogs/ LinkedIn -- http://www.linkedin.com/company/openlink-software/ Twitter -- http://twitter.com/OpenLink Google+ -- http://plus.google.com/100570109519069333827/ Facebook -- http://www.facebook.com/OpenLinkSoftware Universal Data Access, Integration, and Management Technology Providers |