|Perl: the Markov chain saw|
Installing iodbc 0.1 via CPAN (or other means) on Mac OS 10.6by jbogari (Initiate)
|on Aug 04, 2011 at 21:32 UTC||Need Help??|
jbogari has asked for the
wisdom of the Perl Monks concerning the following question:
Need some help with the finer points of coercing CPAN package iodbc to build successfully and install on Mac OS 10.6.
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.
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.
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:
I have edited the CPAN-generated Makefile.PL to use the needed non-standard include path. To some benefit, I think.
I have tried to specify the needed library path, but to no effect. I still get "symbol not found errors", like this one:
Has anyone gotten this working? Recently?
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.
Where to turn for help?
I'd appreciate any input. Thanks.