freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: "Richard Wolfe" <rwolfe AT resourceprint.com>
- To: "TDS Development Group" <freetds AT franklin.metalab.unc.edu>
- Subject: Re: Undefined symbol "cs_ctx_global"
- Date: Fri, 27 Sep 2002 17:36:20 -0500
Thanks again, Michael. I made the change to dbdimp.c and re-made and all is
good.
----- Original Message -----
From: "Michael Peppler" <mpeppler AT peppler.org>
To: "TDS Development Group" <freetds AT franklin.metalab.unc.edu>
Sent: Friday, September 27, 2002 5:20 PM
Subject: [freetds] Re: Undefined symbol "cs_ctx_global"
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
-
Undefined symbol "cs_ctx_global",
Richard Wolfe, 09/27/2002
- <Possible follow-up(s)>
- Re: Undefined symbol "cs_ctx_global", Michael Peppler, 09/27/2002
- Re: Undefined symbol "cs_ctx_global", Richard Wolfe, 09/27/2002
Archive powered by MHonArc 2.6.24.