Loading Aclic compiled libraries root 5.18

Hello,

Using a fresh 5.18, I’m having trouble I didn’t have with previous version.
I’m compiling with Aclic a very simple piece of code :

#include <vector> class AA : public std::vector<int> { public: int a; };

then compile from root :
.L test.C++
(is there an equivalent in python ?)

then in pyroot :

[code][GCC 4.2.3 (4.2.3-6mnb1)] on linux2
Type “help”, “copyright”, “credits” or “license” for more information.

from ROOT import *
gSystem.Load(“test_C.so”)
0

a = AA()
Error in TPluginManager::FindHandler: Cannot find plugin handler for TVirtualStreamerInfo! Does $ROOTSYS/etc/plugins/TVirtualStreamerInfo exist?

*** Break *** segmentation violation
sh: /etc/root/gdb-backtrace.sh: Aucun fichier ou répertoire de ce type[/code]

This was working well before.
In cint, I can use the test_C.so library normally (I just have to execute #include )

Is there something new in 5.18 which breaks things ?

Cheers,

P.A.

Hi,

You environment might not be set correctly.

Does $ROOTSYS/etc/plugins/TVirtualStreamerInfo exist?

Cheers,
Philippe.

[quote]You environment might not be set correctly.
[/quote]

Indeed, it seems my installation was corrupted… even if $ROOTSYS/etc/plugins/TVirtualStreamerInfo existed.

After a fresh re-install all is fine.
Sorry for the noise and thanks anyway for the answer !

Hi,

[quote].L test.C++
(is there an equivalent in python ?)[/quote]
Not as such, but you can use:gROOT.LoadMacro("test.C++")which has the desired effect.

Cheers,
Wim