Up Prev Next
From: Michael Peppler <mpeppler at peppler dot org>
Subject: Re: Client library problem?
Date: Feb 15 2000 6:21PM
Dan J Urist writes:
> I recently installed the free version of ASE for Linux on a stock RedHat 6.1
> system. The installation went fine, and I am using the database in production
> for a troubleticket system written in perl using DBD::Sybase (this is GPL'd
> freeware called "MeterMaid", available at
> http://www.world.std.com/~durist/perl/metermaid if anyone's interested).
Hmmmm interesting. It looks a little cleaner than my little bug.cgi
> When I try to use DBD::Sybase, it connects without an error but any select
> statement gives me this error:
> dbih_setup_fbav: invalid number of fields: 0, NUM_OF_FIELDS attribute probably
> not set right at /usr/lib/perl5/site_perl/5.005/i386-linux/DBI.pm line 581.
> I've tried manually setting the NUM_OF_FIELDS attribute (the doco says it's
> read-only) and it dumps core.
This has nothing to do with the version fo the client libraries. I
would like to see the exact SQL statement that you are trying to run,
because that's what's likely causing the problem...
Michael Peppler -||- Data Migrations Inc.
firstname.lastname@example.org -||- http://www.mbay.net/~mpeppler
Int. Sybase User Group -||- http://www.isug.com
Sybase on Linux mailing list: email@example.com