Skip to Content.
Sympa Menu

freetds - Re: Undefined symbol "cs_ctx_global"

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Michael Peppler <mpeppler AT peppler.org>
  • To: TDS Development Group <freetds AT franklin.metalab.unc.edu>
  • Subject: Re: Undefined symbol "cs_ctx_global"
  • Date: 27 Sep 2002 15:20:36 -0700

On Fri, 2002-09-27 at 15:14, Richard Wolfe wrote:
> I have FreeTDS up an running on my BSD webserver just fine (tsql works), and
> I finally got DBD::Sybase installed (thanks to Michael Peppler for pointing
> out that I needed 0.94_02 to install in a non-standard directory). So now
> I'm trying to run the sample Perl program from the FreeTDS User Guide, and
> I'm getting the following error:
>
> /usr/home/myhome/www/cgi-bin> ./mssql-test.cgi
> /usr/libexec/ld-elf.so.1:
> /usr/home/myhome/usr/local/lib/site_perl/i386-freebsd/auto/DBD/Sybase/Sybase
> .so: Undefined symbol "cs_ctx_global"
>
> Any ideas what I'm doing wrong?

Nothing, really. Just that I changed calls to cs_ctx_alloc() to
cs_ctx_global() in my code because it's a better solution when you are
embedding things in a larger system where a CS_CONTEXT may already
exist.

You can edit dbdimp.c to change cs_ctx_global() to cs_ctx_alloc(), or
simply add a #define somewhere to map one to the other.

Michael
--
Michael Peppler / mpeppler AT peppler.org / http://www.mbay.net/~mpeppler
mpeppler AT zetatools.com / ZetaTools, Inc / http://www.zetatools.com
ZetaTools: Call perl functions as Sybase stored procedures!

Attachment: signature.asc
Description: This is a digitally signed message part




Archive powered by MHonArc 2.6.24.

Top of Page