[ROOT] Compiling with TSQLServer

From: Stephen A. Fuqua (sfuqua@dell12.hep.utexas.edu)
Date: Fri Nov 17 2000 - 01:54:51 MET


Good evening,

Being a relatively new C++ programmer, perhaps I am missing something
obvious. Can anyone see anthing missing here?...

THE PROBLEM: I have a compiled program that seg faults when I call 
TSQLServer *db = TSQLServer::Connect(sqlServer, sqlUser, sqlPwd). All
three variables have been declared as const char* and are properly
initialized. 

I have properly included TSQLServer.h, and I link against libMySQL.so
that comes with the ROOT MySQL package. I have also tried linking to
libmysqlclient.so and including MySQLServer.h. The program compiles
correctly and runs up until the point of this call (including calls to
the ROOT TString class).

If seeing the source will help you help me, I'll gladly show it to
you...

Thanks in advance,


Stephen A. Fuqua

sfuqua@hep.utexas.edu // High Energy Physics Lab
Research Assistant   // University of Texas at Austin
ph: 512.475.8673    // http://www.hep.utexas.edu/~sfuqua



This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:37 MET