Michael Peppler
Sybase Consulting
Sybase on Linux
Install Guide for Sybase on Linux
General Sybase Resources
General Perl Resources
BCP Tool
Bug Tracker
Mailing List Archive
Downloads Directory
Sybase on Linux FAQ
Sybperl FAQ
Michael Peppler's resume

sybperl-l Archive

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
 > if anyone's interested).

Hmmmm interesting. It looks a little cleaner than my little bug.cgi
script :-)

 > 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/ 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.    -||-
Int. Sybase User Group  -||-
Sybase on Linux mailing list: