<HTML><BODY STYLE="font:10pt verdana; border:none;"><DIV>You might try&nbsp;backing out&nbsp;to an older version of Perl. </DIV> <DIV>&nbsp;</DIV> <BLOCKQUOTE style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px"> <DIV style="FONT: 10pt Arial">----- Original Message -----</DIV> <DIV style="BACKGROUND: #e4e4e4; FONT: 10pt Arial; COLOR: black"><B>From:</B> Dan Harris</DIV> <DIV style="FONT: 10pt Arial"><B>Sent:</B> Thursday, January 10, 2002 10:30 PM</DIV> <DIV style="FONT: 10pt Arial"><B>To:</B> clue-tech@clue.denver.co.us</DIV> <DIV style="FONT: 10pt Arial"><B>Subject:</B> [CLUE-Tech] Perl/DBD/FreeTDS problem</DIV> <DIV>&nbsp;</DIV>Hey all,<BR><BR>I've been fighting this problem for 12 hours straight now and can't seem to<BR>figure it out.&nbsp; I'm hoping someone else here is a perl programmer and knows<BR>what might be going on here.<BR><BR>The situation:<BR><BR>Using Linux (RH7.2) to run a perl (5.6.1) program that connects to MS<BR>SQLServer2000, using the DBD::Sybase (0.94) API, which in turn calls the<BR>FreeTDS API to talk to SQL Server.<BR><BR>This solution works fine on a RH6.2 box but for some reason on the new box,<BR>whenever I execute a DBI-&gt;connect(), I get a segmentation fault and a core<BR>dump.<BR>I have tried downgrading the DBD and FreeTDS versions to older revs just to<BR>see if that helps.&nbsp; I've uninstalled and reinstalled the FreeTDS libraries<BR>as well as the DBD::Sybase module...<BR><BR>This is a very mission critical system and I'm gonna be up all night on<BR>this, so if anyone has a clue for me I'd be forever grateful.<BR><BR>Here's the line of code that breaks it:<BR><BR>**********************************************<BR>my $dbh = DBI-&gt;connect('DBI:Sybase:massive','xxxx','xxxx') || die "Couldn't<BR>open database $DBI::errstr; stopped";<BR>**********************************************<BR><BR>Here's a tidbit of the DBI-&gt;trace(3) that may help:<BR><BR>***********************************************<BR>DBI 1.20-nothread dispatch trace level set to 3<BR>&nbsp;&nbsp;&nbsp; -&gt; DBI-&gt;connect(DBI:Sybase:massive, sa, ****)<BR>&nbsp;&nbsp;&nbsp; -&gt; DBI-&gt;install_driver(Sybase) for linux perl=5.006001 pid=25926 ruid=0<BR>euid=0<BR>123&nbsp;&nbsp;&nbsp; syb_init() -&gt; DBD::Sybase 0.93 initialized<BR>@a&nbsp; OpenClient version: ¨<BR><BR><BR>_______________________________________________<BR>CLUE-Tech mailing list<BR>CLUE-Tech@clue.denver.co.us<BR>http://clue.denver.co.us/mailman/listinfo/clue-tech<BR></BLOCKQUOTE></BODY></HTML>