how to connect to sybase in perl

Discussion in 'Perl Misc' started by German, Aug 21, 2007.

  1. German

    German Guest

    I am having trouble to connect to Sybase using perl. I am currently
    running windows on my machine. I got the following errors when I ran
    the script.

    install_driver(Sybase) failed: Can't locate DBD/Sybase.pm in @INC
    (@INC contains
    : c:/Program Files/Perl/lib c:/Program Files/Perl/site/lib .) at (eval
    1) 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, DB2, DBM, ExampleP, File, ODBC, Proxy, Sponge.

    It seems to me that I need to install the module, but I can't find the
    module for windows online. Any ideas?

    Thanks in advance
     
    German, Aug 21, 2007
    #1
    1. Advertising

  2. German

    Larry Guest

    On Aug 21, 9:02 am, German <> wrote:
    > I am having trouble to connect to Sybase using perl. I am currently
    > running windows on my machine. I got the following errors when I ran
    > the script.
    >
    > install_driver(Sybase) failed: Can't locate DBD/Sybase.pm in @INC
    > (@INC contains
    > : c:/Program Files/Perl/lib c:/Program Files/Perl/site/lib .) at (eval
    > 1) 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, DB2, DBM, ExampleP, File, ODBC, Proxy, Sponge.
    >
    > It seems to me that I need to install the module, but I can't find the
    > module for windows online. Any ideas?
    >
    > Thanks in advance


    Are you using ActiveState Perl? If so, they have some Sybase modules
    available through Perl Package Manager.
     
    Larry, Aug 21, 2007
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. xinhuanet.com

    how to connect to sybase

    xinhuanet.com, Jun 3, 2005, in forum: ASP .Net
    Replies:
    1
    Views:
    22,686
    Juan T. Llibre
    Jun 3, 2005
  2. ramanmu
    Replies:
    1
    Views:
    231
    A. Sinan Unur
    May 16, 2005
  3. Replies:
    3
    Views:
    197
    DJ Stunks
    Dec 29, 2006
  4. Perl / Sybase

    , Dec 10, 2008, in forum: Perl Misc
    Replies:
    2
    Views:
    217
    Joost Diepenmaat
    Dec 10, 2008
  5. Replies:
    0
    Views:
    176
Loading...

Share This Page