[freetds] FreeTDS 0.64, AIX 5.2, xlc - make check seg fault in ctlib
Luke Bakken
luke.bakken at gmail.com
Fri Jul 28 17:49:26 EDT 2006
> > (gdb) n
> > 200 memset(*ctx, '\0', sizeof(CS_CONTEXT));
> > (gdb) n
> > 201 tds_ctx = tds_alloc_context(*ctx);
> > (gdb) s
> > Program received signal SIGSEGV, Segmentation fault.
> >
> > tds_alloc_context() is in libtds, and the fact that you can't
> > step into it indicates to me that you're missing libtds symbols. I
> > think you'll find that libtds is a *static* library. It might be that
> > the symbols are stripped on linking? Or something like that.
>
> Actually the more I look at it the more I think that libtool isn't
> linking those commands correctly, or isn't linking libct correctly.
>
Well, upgrading to the latest CVS checkout fixed the linking problems.
More information about the FreeTDS
mailing list