<?xml version="1.0" encoding="windows-1252"?>
<node id="918653" title="Installing iodbc 0.1 via CPAN (or other means) on Mac OS 10.6" created="2011-08-04 17:32:49" updated="2011-08-04 17:32:49">
<type id="115">
perlquestion</type>
<author id="918634">
jbogari</author>
<data>
<field name="doctext">
&lt;p&gt;Need some help with the finer points of coercing CPAN package iodbc to build successfully and install on Mac OS 10.6.&lt;/p&gt;

&lt;p&gt;Some background: Before you just direct me to the obvious alternative, DBI / DBD, FreeTDS and ODBC, understand that this effort is intended to replicate an existing development environment that has iodbc / FreeTDS installed on Solaris.&lt;/p&gt;

&lt;p&gt;I have no little to no control over this environment, and those are the facilities I have to access MS SQL Server. I have numerous apps written in this environment, and I would like to be able to develop remotely - in an equivalent (portable) environment.&lt;/p&gt;

&lt;p&gt;I have everything solved except iodbc. Yes, Perl and the libraries are known to be weak / broken on Mac OX 10.6. I have installed other Perl builds and have applied the libraries intended for repairing OS X's ODBC libraries from OpenLink:&lt;/p&gt;

&lt;p&gt;&lt;a href="http://wikis.openlinksw.com/dataspace/owiki/wiki/UdaWikiWeb/MacOSXiODBC"&gt;http://wikis.openlinksw.com/dataspace/owiki/wiki/UdaWikiWeb/MacOSXiODBC&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I have edited the CPAN-generated Makefile.PL to use the needed non-standard include path. To some benefit, I think.&lt;/p&gt;

&lt;p&gt;I have tried to specify the needed library path, but to no effect. I still get "symbol not found errors", like this one:&lt;/p&gt;

&lt;p&gt;&lt;a href="http://sourceforge.net/mailarchive/forum.php?thread_name=D3A55201-3D0A-48D1-A745-6C5ECF8FC57B%40openlinksw.com&amp;forum_name=iodbc-macosx"&gt;http://sourceforge.net/mailarchive/forum.php?thread_name=D3A55201-3D0A-48D1-A745-6C5ECF8FC57B%40openlinksw.com&amp;forum_name=iodbc-macosx&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Has anyone gotten this working? Recently?&lt;/p&gt;

&lt;p&gt;I am far from a gcc expert, and am new to CPAN. I can follow a nasty, complicated how-to, if there  was one. But I seem to be alone in this position.&lt;/p&gt;

&lt;p&gt;Where to turn for help?&lt;/p&gt;

&lt;p&gt;I'd appreciate any input. Thanks.&lt;/p&gt;
</field>
</data>
</node>
