MySQL seg fault

Hello all,

So I recently updated my ROOT verision to 5.18/00.

Now I am getting a seg fault in code which worked fine before.

The seg fault come after the following line

db_pointer = TSQLServer::Connect(full_ad.c_str(),db_user.c_str(),db_pw.c_str());
cout << “Hello” << endl;

so it’s when I ask if I have connected. I get the following error

Error in TUnixSystem::DynamicPathName: RMySQL[.so | .sl | .dl | .a | .dll] does not exist in .:/usr/local/root/lib/root::/usr/local/root/lib/root:/usr/local/astro_root/lib:

*** Break *** segmentation violation
Using host libthread_db library “/lib/”.
Attaching to program: /proc/12923/exe, process 12923
[Thread debugging using libthread_db enabled]
[New Thread 46992239715664 (LWP 12923)]
0x00002abd3b724af5 in waitpid () from /lib/
error detected on stdin
The program is running. Quit anyway (and detach it)? (y or n) [answered Y; input not from terminal]
Detaching from program: /proc/12923/exe, process 12923

Any ideas?




Yes this means that the MySQL ROOT plugin ( was not build. Either you do not have MySQL install or configure did not find it and you need to pass its location to configure.