CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

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

 



Hussy_ali
New User

Sep 2, 2016, 2:07 AM

Post #1 of 2 (4623 views)
Connect Sybase DB from ActivePerl on windows Can't Post

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,
XBase.
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.

Thanks..


FishMonger
Veteran / Moderator

Sep 2, 2016, 5:59 AM

Post #2 of 2 (4617 views)
Re: [Hussy_ali] Connect Sybase DB from ActivePerl on windows [In reply to] Can't Post

DBD::Sybase is not a core module so you'll need to install it.
http://www.activestate.com/blog/2016/01/installing-cpan-modules-activeperl-518-and-later
http://docs.activestate.com/activeperl/5.6/faq/ActivePerl-faq2.html

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives