Fatal in <TVirtualStreamerInfo::Factory>: Cannot find the plugin handler for TVirtualStreamerInfo!


I have installed root 5.34.34 on SUSE Linux Enterprise Server 11 (x86_64) VERSION = 11 PATCHLEVEL = 2 recently. I use root cern as a library, so I linked its libraries to my project in QT IDE.

I tried to create and save a simple tree, but I got the next runtime error:

[code]Error in TSystem::ExpandFileName: input: $ROOTSYS/etc/plugins/TVirtualStreamerInfo, output: $ROOTSYS/etc/plugins/TVirtualStreamerInfo
Fatal in TVirtualStreamerInfo::Factory: Cannot find the plugin handler for TVirtualStreamerInfo! $ROOTSYS/etc/plugins/TVirtualStreamerInfo does not exist or is inaccessible.
Error in TUnixSystem::StackTrace script /etc/root/gdb-backtrace.sh is missing

The program has unexpectedly finished.[/code]

My code:

#include <iostream>

//root cern
#include "TTree.h"
#include "TFile.h"

using namespace std;

int main()
    TTree tree("t1", "Parser");

    Double_t a_1;
    tree.Branch("a_1", &a_1, "a_1/D");

    a_1 = 16.0076;

    TFile f_tree("/mnt/scratch/ws/Vlad/run_0.root", "RECREATE");

    return 0;

What is wrong?
Could you help me?

Thank you in advance.

Shoud I use this solution Gui crashes with root_5.32/0 on SL6 ?

Where did you get ROOT binaries from?
Do you set appropriate ROOTSYS variable?

BTW. In your “main”, try to add the first line in form:
TApplication a(“a”, 0, 0); // just to make sure that the autoloading of ROOT libraries works

Hello, Pepe Le Pew.

I used you method and now all work properly :smiley: