develooper Front page | perl.dbi.users | Postings from February 2008

DBD::Sybase context allocation routine failed

Thread Next
From:
levinepw@yahoo.com
Date:
February 12, 2008 16:28
Subject:
DBD::Sybase context allocation routine failed
hi,

attempting a DB connection using a brand new installation of perl
5.8.8 on an old sun box: 'sun4u sparc SUNW,Ultra-4'.

i have connectivity.
this command line script returns a reference to a hash:
perl -MDBI -e 'print DBI-
>connect("DBI:Sybase:server=xxxx","user","password")'

but when i attempt to run this stub script:

#!/usr/local/bin/perl5.8.8
use strict;
use CGI qw(:standard);
use DBI;
use DBD::Sybase;

I get this error:

The context allocation routine failed. The following problem caused
the failure: Invalid context version. Content-Type: text/html;
charset=ISO-8859-1

I don't get the error it if I comment out the DBD::Sybase statement
Any help is much appreciated.

Thanks,
pete



Thread Next


Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About