Skip to Content.
Sympa Menu

freetds - Re: [freetds] DBD::Sybase connect problems

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Michael Peppler <mpeppler AT peppler.org>
  • To: Khurt Williams <khurtwilliams AT gmail.com>, FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Cc:
  • Subject: Re: [freetds] DBD::Sybase connect problems
  • Date: Sat, 19 Mar 2005 08:00:00 +0100

On Wed, 2005-03-16 at 22:06, Khurt Williams wrote:
> I downloaded and compiled FreeTDS to access a SQL Server 2000 database
> from Red Hat Enterprise Linux ES release 3.
>

> However whenever I connect to the database from Perl using the
> DBD::Sybase (1.05) I get the following error.
>
> -bash-2.05b$ ./db.pl
> cs_config(CS_LOC_PROP) failed at
> /usr/lib/perl5/5.8.0/i386-linux-thread-multi/DynaLoader.pm line 249.

The dynaloader bit is a red herring.

The issue is that the bootstrap code in DBD::Sybase tries to call
cs_config(CS_LOC_PROP) on the CS_CONTEXT, which isn't supported by
FreeTDS - hence the error (or warning, actually). As FreeTDS doesn't
support OpenClient CS_LOCALE stuff anyway the problem is irrelevant.

Michael
--
Michael Peppler - mpeppler AT peppler.org - http://www.peppler.org/
Sybase DBA/Developer
Sybase on Linux FAQ: http://www.peppler.org/FAQ/linux.html






Archive powered by MHonArc 2.6.24.

Top of Page