----- Forwarded message from [email protected] -----
Date: Mon, 2 May 2011 18:40:11 -0700
From: [email protected]
To: [email protected]
Subject: Perl DBI on Mac OS X
Hi Tim,
Sorry to bother you. I am new to Perl DBI. I have it working fine on my
Windows 7 box.
I have installed the module on Ubuntu and tried running the same test script
but get a connection error:
DBI connect('Driver={SQL Server};Server=[dsn];Database=[db]','[pwd]',...)
failed: [iODBC][Driver
Manager]Specified driver could not be loaded (SQL-IM003) [state was IM003
now 00000]
[iODBC][Driver Manager]dlopen({SQL Server}, 6): image not found (SQL-00000)
at testDBI.pl line 14
Can't connect to DBI:ODBC:Driver={SQL Server};Server=[dsn];Database=[db]:
[iODBC][Driver
Manager]Specified driver could not be loaded (SQL-IM003) [state was IM003
now 00000]
[iODBC][Driver Manager]dlopen({SQL Server}, 6): image not found (SQL-00000)
at testDBI.pl line 14.
Do I need to install another module? Or configure ODBC?
Thanks,
David Stiff
----- End forwarded message -----