Get it here! Perl DBD::Sybase 1.14.01 for Active State Perl 5.16 Windows XP/Vista/7/8 32bit AND 64bit

Assuming that you installed Sybase SDK OpenClient 15.7.

Sybase Openclient is included in the Sybase Developer’s Kit, and ASE PC Client. If you don’t have a license, you can download the ASE 15.7 Developer Edition for Windows which will include it.

Install ActiveState Perl from http://www.activestate.com (free) and install DBI if it isn’t already installed.  It should be but you never know…

  1. Start -> ActiveState Perl -> Perl Package Manager
  2. install DBI
  3. exit

Now, the easy part.  Install the DBD-Sybase-1.14 1.14 PPM:

  1. download DBD-Sybase-1.14
  2. extract zip file to temporary directory (e.g. c:\test)
  3. Start -> Run -> cmd.exe (as Administrator if Vista or Windows 7)
  4. cd \test
  5. ppm install DBD-Sybase.ppd
  6. exit

That’s it :)

It should automatically install the DBD::Sybase for Perl 5.16 32bit or 64bit depending on which version of Active State Perl you have installed.

UPDATE (March 6th, 2013):

The PPM is fixed now. Please let me know of any issues.

Share Button

24 Replies to “Get it here! Perl DBD::Sybase 1.14.01 for Active State Perl 5.16 Windows XP/Vista/7/8 32bit AND 64bit”

  1. Would you be so kind as to discuss *how* you went about building this module? For example, If I wanted to install DBD::Sybase against Citrus Perl.

  2. Great help with this. Just a small correction needed, I tested this on 32 bit Win 7 with Perl 5.16 and got errors. The PPD file needs changes for the 32 bit tag as well. Please correct the architecture entry in th PPD from to .

    Successfully installed on my machine after this change. Great work though!! 🙂

    1. Guess the reply cleared out the tags. 🙁
      The architecture needs to be MSWin32-x86-multi-thread-5.16 instead of MSWin32-x32-multi-thread-5.16.

        1. Hi,
          I just insalled the latest Sybase DBD and getting the following error:

          install_driver(Sybase) failed: Can’t load ‘C:/Perl/site/lib/auto/DBD/Sybase/Syba
          se.dll’ for module DBD::Sybase: load_file:%1 is not a valid Win32 application at
          C:/Perl/lib/DynaLoader.pm line 191.
          at (eval 3) line 3.
          Compilation failed in require at (eval 3) line 3.
          Perhaps a required shared library or dll isn’t installed where expected
          at Syb_connect.pl line 3.

          Kindly help.

          Thank You.

          1. Hi Jason,
            I have installed Active State Perl 5.16 and downloaded ‘DBD::Sybase 1.14.01’ ZIP from this web site. When i am executing my code getting below error. Can you please help me with the resolution.

            Logs:

            INFO: cgi: runCGI (stderr):install_driver(Sybase) failed: Can’t load ‘C:/Perl64/site/lib/auto/DBD/Sybase/Sybase.dll’ for module DBD::Sybase: load_file:The specified module could not be found at C:/Perl64/lib/DynaLoader.pm line 191.
            Aug 24, 2016 7:48:18 PM org.apache.catalina.core.ApplicationContext log
            INFO: cgi: runCGI (stderr): at (eval 9) line 3.
            Aug 24, 2016 7:48:18 PM org.apache.catalina.core.ApplicationContext log
            INFO: cgi: runCGI (stderr):Compilation failed in require at (eval 9) line 3.
            Aug 24, 2016 7:48:18 PM org.apache.catalina.core.ApplicationContext log
            INFO: cgi: runCGI (stderr):Perhaps a required shared library or dll isn’t installed where expected
            Aug 24, 2016 7:48:18 PM org.apache.catalina.core.ApplicationContext log
            INFO: cgi: runCGI (stderr): at C:worklist.metadata.pluginsorg.eclipse.wst.server.coretmp0wtpwebappsfr_usowlWEB-INFcgiusrppickWlItem line 50.

            Thanks:-
            Malli

  3. I’m using WinXP with ActivePerl
    Getting this error when trying to use DBD::Sybase:

    “The application or DLL C:Perlsitelibautodbdsybasesybase.dll is not a valid windows image”

  4. Is it stalled?
    Perl 5.22, Win7-64:
    ppm> install C:/Users/Admin/Perl-DBD-Sybase/DBD-sybase.ppd
    ppm install failed: The PPD does not provide code to install for this platform

    ;-( crying..

  5. Same problem
    Perl 5.22, Win7-64:
    ppm> install C:/Users/Admin/Perl-DBD-Sybase/DBD-sybase.ppd
    ppm install failed: The PPD does not provide code to install for this platform

    Also crying

  6. Hi Jason L Froebe,
    I have followed the above steps and configured DBD::Sybase 1.14.01 for Active State Perl 5.16. Operating system is Windows 7 and i am using ActivePerl in my local system to connect to the actual Sybase server(Sybase installed in another system i.e, Unix Machine). I am doing this for local set up.

    I am getting below error. Please help me with this.

    Logs:

    Aug 23, 2016 6:01:07 PM org.apache.catalina.core.ApplicationContext log
    INFO: cgi: runCGI (stderr):install_driver(Sybase) failed: Can’t load ‘C:/Perl64/site/lib/auto/DBD/Sybase/Sybase.dll’ for module DBD::Sybase: load_file:The specified module could not be found at C:/Perl64/lib/DynaLoader.pm line 191.
    Aug 23, 2016 6:01:07 PM org.apache.catalina.core.ApplicationContext log
    INFO: cgi: runCGI (stderr): at (eval 9) line 3.
    Aug 23, 2016 6:01:07 PM org.apache.catalina.core.ApplicationContext log
    INFO: cgi: runCGI (stderr):Compilation failed in require at (eval 9) line 3.
    Aug 23, 2016 6:01:07 PM org.apache.catalina.core.ApplicationContext log
    INFO: cgi: runCGI (stderr):Perhaps a required shared library or dll isn’t installed where expected
    Aug 23, 2016 6:01:07 PM org.apache.catalina.core.ApplicationContext log
    INFO: cgi: runCGI (stderr): at C:worklist.metadata.pluginsorg.eclipse.wst.server.coretmp0wtpwebappsfr_usowlWEB-INFcgiusrppickWlItem line 50.
    Aug 23, 2016 6:01:23 PM org.apache.catalina.core.ApplicationContext log
    INFO: cgi: runCGI (stderr):install_driver(Sybase) failed: Can’t load ‘C:/Perl64/site/lib/auto/DBD/Sybase/Sybase.dll’ for module DBD::Sybase: load_file:The specified module could not be found at C:/Perl64/lib/DynaLoader.pm line 191.
    Aug 23, 2016 6:01:23 PM org.apache.catalina.core.ApplicationContext log
    INFO: cgi: runCGI (stderr): at (eval 9) line 3.
    Aug 23, 2016 6:01:23 PM org.apache.catalina.core.ApplicationContext log
    INFO: cgi: runCGI (stderr):Compilation failed in require at (eval 9) line 3.
    Aug 23, 2016 6:01:23 PM org.apache.catalina.core.ApplicationContext log
    INFO: cgi: runCGI (stderr):Perhaps a required shared library or dll isn’t installed where expected
    Aug 23, 2016 6:01:23 PM org.apache.catalina.core.ApplicationContext log
    INFO: cgi: runCGI (stderr): at C:worklist.metadata.pluginsorg.eclipse.wst.server.coretmp0wtpwebappsfr_usowlWEB-INFcgiusrppickWlItem line 50.

      1. Unfortunately the method of extracting the symbol tables from the Sybase/SAP openclient DLLs no longer works except for Visual Studio. I recommend using DBD::ODBC or DBD::ADO instead. I’m not certain on the legality of using the community edition of Visual Studio and building/supplying the binary version of DBD::Sybase.

        1. Hi Jason,
          Thanks for your reply. Here i have to use DBD::Sybase because my data base is Sybase. I am using this DBD::Sybase to call sybase DB from Perl. So please let me know if you have some solution for this issue.I am sure so many people facing the same issue.

          Thanks:-
          Malli

          1. You can connect to Sybase databases through the DBD::ODBC driver or even DBD::ADO using Perl. Just make sure you have the Sybase PC client installed.

            I’ll see what I can do to come up with example code for using DBD::ODBC and DBD::ADO on windows with Sybase ASE.

            jason

  7. Perl 5.24, Win7-64:
    ppm> install C:/Users/Admin/Perl-DBD-Sybase/DBD-sybase.ppd
    ppm install failed: The PPD does not provide code to install for this platform
    Please help.

Leave a Reply

Your email address will not be published. Required fields are marked *