Datadrum has asked for the wisdom of the Perl Monks concerning the following question:

Greetings PerlMonks. I've already read the other thread on Sybase 15.0 and activeperl 5.8 but there wasn't a solution to the issue presented. DBD::Sybase with Sybase 15.0 Has there been any new developments on this? We have just recently upgraded our sybase ASE version from 12.5 to 15. I am looking for a requirements listing that would get me rolling with Perl. Any help would great! much respect.

Replies are listed 'Best First'.
Re: Sybase 15.0 & Perl 5.8
by knbknb (Acolyte) on Mar 25, 2009 at 12:39 UTC
    I didn't read the older thread, but AFAIK under windows, you can use DBD::ODBC as a workaround by creating an ODBC datasource with odbcad32.exe, and then use that in your perl/DBI code.

    You can keep the both the 12.5 and 15.0 client libraries on your machine and install the DBD::Sybase ppm with SYBASE and SYBASE_OCS env vars pointed to the 12.5 libraries. Maybe you have to edit the PPD file. Then you also need to set $ENV{SYBASE} and $ENV{SYBASE_OCS} to the 12.5 directories in each perlscript in a BEGIN block. This is explained in the DBD::Sybase documentation.

    Don't remember, but I have both on my machine, and DBD::Sybase 1.07_1 installed.

    didn't try this: using the old dll name, you can create symbolic links to the new dll files. works also on NTFS)

      Thanks for the reply knbknb.

      I am on a Windows 2003 environment, ActivePerl 5.8.8.816, Sybase 15.0.2.

      I currently have DBD-Sybase 1.07_1 installed. I tried to get 1.08 on there but I am running into a lot of problems during the make process. I receive "Don't know how to make d:\perl\libConfig.pm". I looked at this as an issue in the make file code and went in to add a "\" to the path so that it could find the file properly. Now it returns the same error but with only, "Config.pm"

      Originally, our system was a same Windows 2003 but Sybase 12.5. We installed Perl on the new server and I proceeded to just execute the .pl script we have setup. That returns an error:

      "The procedure entry point PL_memory_wrap would not be located in the dynamic link library perl58.dll.

      So as you can see. Several issues going on here and I'm not quite sure where to start.
Re: Sybase 15.0 & Perl 5.8
by Anonymous Monk on Mar 26, 2009 at 03:01 UTC