|Problems? Is your data what you think it is?|
Can't locate loadable object for module DBD::Sybaseby jedikaiti (Hermit)
|on Apr 30, 2010 at 15:43 UTC||Need Help??|
jedikaiti has asked for the
wisdom of the Perl Monks concerning the following question:
OK, guys I am having issues with the DBD::Sybase module. I'm running Strawberry Perl on WinXP, Perl version 5.10.1. I have a program (written by someone else) which requires the DBD::Sybase module. Got that installed (using CPAN), no apparent problems. But when I try to run the program I get the error:Can't locate DBD/Sybase.pm in @INC (@INC contains: . db /glory/mu/tools/lib C:/strawberry/perl/lib C:/strawberry/perl/site/lib C:\strawberry\perl\vendor\lib .) at dbUpdate.pl line 17.
A quick google search leads me here: What to do when Perl modules aren't in their normal locations. A quick search of my machine finds Sybase.pm in 2 directories: C:\strawberry\cpan\build\DBD-Sybase-1.10-xUBkiW and C:\strawberry\cpan\build\DBD-Sybase-1.10-xUBkiW\blib\lib\DBD. So I add these 3 lines to dbUpdate.pl:
Now I get a different error:
I really don't know what, exactly, it wants, or where to go from here. Help, please?
Here's the actual code: (or rather, the start of it)
Swiss Army Nerd