[freetds] Can't load ODBC.so
Nguyen, Thi X.
tnguyen at powertv.com
Fri Nov 3 15:12:13 EST 2006
I am using a perl script that communicates to a MS-SQL databse from a
I am using the follwing components:
The Perl script works fine as user1. From a terminal, I run it mannually
from the home directory
[user1 at MyMachine ~]$ perl myscript.pl
The problem is that when I submit a cron job
* * * * * perl /home/user1/myscript.pl
The error is below:
install_driver(ODBC) failed: Can't load
BC.so' for module DBD::ODBC: libodbc.so.1: cannot open shared object
file: No such file or directory at
/usr/lib/perl5/5.8.5/i386-linux-thread-multi/DynaLoader.pm line 230.
at (eval 10) line 3
Compilation failed in require at (eval 10) line 3.
Perhaps a required shared library or dll isn't installed where expected
at /home/bldsvr/Lnx_startbld.pl line 230
The script also fails to run, as anyother user including root, with the
Do I need to reinstall any component listed above? I appreciate any
- - - - - Appended by Scientific Atlanta, a Cisco company - - - - - This e-mail and any attachments may contain information which is confidential, proprietary, privileged or otherwise protected by law. The information is solely intended for the named addressee (or a person responsible for delivering it to the addressee). If you are not the intended recipient of this message, you are not authorized to read, print, retain, copy or disseminate this message or any part of it. If you have received this e-mail in error, please notify the sender immediately by return e-mail and delete it from your computer.
More information about the FreeTDS