Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

Installing iodbc 0.1 via CPAN (or other means) on Mac OS 10.6

by jbogari (Initiate)
on Aug 04, 2011 at 21:32 UTC ( #918653=perlquestion: print w/replies, xml ) 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.

  • Comment on Installing iodbc 0.1 via CPAN (or other means) on Mac OS 10.6

Replies are listed 'Best First'.
Re: Installing iodbc 0.1 via CPAN (or other means) on Mac OS 10.6
by Anonymous Monk on Aug 05, 2011 at 07:00 UTC

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://918653]
Approved by Corion
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (8)
As of 2017-02-22 07:49 GMT
Find Nodes?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?

    Results (325 votes). Check out past polls.