Hi,
My perl script dies on this line
my $dbh = DBI->connect( $DBIDSN, $SQLUSER, $SQLPASS)
|| die ("Database connection not made: $DBI::errstr");

Error is segmentation fault.

I have used prints before and after this statement.
the before does and the after doesn't.
Neither does it print what's in die (); So I guess
either the connection is being made or DBI->connect
has a problem.
Printing $dbh before this staement returns nothing, so
its undef.

I am using Perl on Linux to with FreeTDS and
DBD:Sybase1.02 (and MIME::Lite for email)
to talk to MS SQL Server. 
 
The most strange thing is that it works on development
server but doesn't on the QA server where it gives
segmentation fault! The source code is exactly the
same(except for paths).

Can the above line be a DBD::Sybase problem? I
installed DBD::Sybase from .tar.gz file
and my sys. admin. installed from RPM(I don't know
what that is). So can that be a problem? Version is
same. He said he built the RPM... Also he says path
doesn't matter as long as its placed under the Perl
tree.


Any help is appreciated. 

Thanks,
VK


        
                
__________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online by April 15th
http://taxes.yahoo.com/filing.html

Reply via email to