Skip to Content
Author's profile photo Former Member

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

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.  The PPMs require Openclient 15.7 for Windows.

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)
  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.

Jason Froebe

If you want to know how I built the PPMs, take a look at HOWTO: Building Perl module DBD::Sybase 1.14 on Windows (32bit or 64bit) with ActiveState Perl 5.16, Microsoft Visual Studio and Sybase OpenClient 15.7

Assigned Tags

      2 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Former Member
      Former Member

      Jason,

      DBD::Sybase (Peppler version) can also be used with ActiveState Perl on Solaris... I had a friend that built ActiveState Perl on Solaris so that it would exactly match his PC installation. After a little work, I had the DBD::Sybase drivers working too.

      Cory Sane

      Author's profile photo Former Member
      Former Member
      Blog Post Author

      Cory,

      That is wonderful to hear!  I need to figure out how to build Sybase Openclient with the MinGW compiler (http://mingw-w64.sourceforge.net/) as I can't justify the need to purchase another Microsoft Visual Studio license. 

      As a last resort, if I can't get it to work with MinGW, I might have to use the FreeTDS libraries.  I would prefer to stay with Openclient as it has a far more complete API when dealing with Sybase database systems.

      Jason