Home: Perl Programming Help: DBI:
Connect Sybase DB from ActivePerl on windows

New User

Sep 2, 2016, 2:07 AM

Views: 8913
Connect Sybase DB from ActivePerl on windows

Hi All,
I have installed ActivePerl on my machine.
I already have Sybase on my windows as well.
But when I am trying to connect to Sybase from Perl program then I am getting below error:

install_driver(Sybase) failed: Can't locate DBD/Sybase.pm in @INC (@INC contains
: C:/Perl/site/lib C:/Perl/lib .) at (eval 5) line 3.
Perhaps the DBD::Sybase perl module hasn't been fully installed,
or perhaps the capitalisation of 'Sybase' isn't right.
Available drivers: CSV, DBM, ExampleP, File, Gofer, ODBC, Oracle, Proxy, Sponge,
at db_connection.pl line 10

May this is due to missing of .pm file on Perl Configuration.

So could anyone please help me here.


Veteran / Moderator

Sep 2, 2016, 5:59 AM

Views: 8907
Re: [Hussy_ali] Connect Sybase DB from ActivePerl on windows

DBD::Sybase is not a core module so you'll need to install it.