Assuming that you installed Sybase OpenClient 15.5 from the 15.5 PC Client:
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…
Now, the easy part. Install the DBD::Sybase 1.09.01 PPM:
- download DBD::Sybase 1.09.01 PPM
- extract zip file to temporary directory (e.g. c:\test)
- Start -> Run -> cmd.exe (as Administrator if Vista or Windows 7)
- cd \test
- ppm install DBD-Sybase.ppd
- exit
That’s it
It should automatically install the DBD::Sybase for Perl 5.8 or 5.10 depending on which version of Active State Perl you have installed.
« For those of you that don’t know, last week I had my wisdom teeth removed. There were a few complications.. How to disable the “uninstall password” to uninstall Symantec Antivirus »





Hi,
I installed this package on my system which is running per 5.10.0, build #1005 from activestate. The package seems to install without a problem, but I get the following error when i try to run a program using dbd-syabse…
“the procedure entry point Perl_croak_xs_usage could not be located in the dynamic link library perl510.dll”
Anyone have any idea as to what a possible workaround could be?
Thanks
-Alex
I get The procedure entry point Perl_hv_common_key_len could not be located in the dynamic link library perl58.dll. I guess that means I need perl 5.10.0
got it to work using perl 5.10.1
steps
1. fix the environment variables in your perl script like
$ENV{NCLICENSE}=’/progra~1/netcool/common/license’;
$ENV{LM_LICENSE_FILE}=’/progra~1/netcool/common/license/etc’;
$ENV{SYBASE}=’/progra~1/Micromuse/netcool’;
$ENV{NCHOME}=’/progra~1/Micromuse/netcool’;
$ENV{OMNIHOME}=’/progra~1/Micromuse/netcool/omnibus’;
$ENV{ARCH}=’Win32′;
2. ensure LANG is off
set LANG
3. copy %SYBASE%\locales\message\english %SYBASE%\locales\message\us_english
4. start SYBASE DB for me that was an ObjectServer %OMNIHOME%\bin\nco_objserv -name RIVERS
5. perl -I….. ncogew.pl -server RIVERS -user root -password ”
> select count(*) from alerts.status;
>go
>5 records found
Hello Jason,
Activestate perl 5.12 is out for some time now. Can you also provide a DBD::Sybase ppm for this distribution, please? Or is it difficult to create a ppm myself? Just by renaming the contents of the .gz Archive of the 5.10 ppm probably won’t suffice. I guess a dll must be compiled.
Best regards
Knut did you ever get DBD: Sybase with perl 5.12 to work? I am having the same problems.
I will be building a new release in the next few days. I haven’t had time to keep up with the ActiveState Perl releases.
Any update? Thanks!
Hi Jason, this is a very helpful post. I have been looking for some clear guide in installing Perl package, and I’ve bumped into your website.
Very useful post you’ve got here!