> It compiles okay, However, when I try run it I get this segv: > dlopen error: /usr/local/root_v3.10.02/lib/libGX11.so: undefined symbol: > _ZNK7TObject7DoErrorEiPKcS1_Pc > Load Error: Failed to load Dynamic link library > /usr/local/root_v3.10.02/lib/libGX11.so > *** Break *** segmentation violation > Generating stack trace... > 0x080c5960 in <unknown> from ./rcGui.static > 0x420156a4 in __libc_start_main + 0xe4 from /lib/tls/libc.so.6 > 0x080b9a39 in dlopen + 0x41 from ./rcGui.static > Why is it trying to do a dlopen on libGX11.so when it was compiled against > the libRoot.a? How do I resolve this issue? It is defined with the list of the ROOT pluggins via $ROOTSYS/etc/system.rootrc ROOT plugin interface does check whether some interface is present and then if it finds the interface missing it attempts to load the appropriated share library. The name of the "appropriated" library for each "plug-in" interface is defined by the said ROOT resource file. To avoid the loading the external share libs via the ROOT plug-in all interface pointers should be initialized (see Philippe's response on this issue) in advance The ROOT "system.rootrc" file is good resource to figure out which libraries ROOT is going to load dynamically. Hope this helps, Valeri > Cheers > Caius > ________________________________________ > - CAIUS HOWCROFT - > - +44 (0)1223 764 128 UK(office) - > ========================================
This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:07 MET