Problem while dynamically loading libraries in standalone

Hello,
In my standand alone application, when I select View-Editor, I get that error :
dlopen error: /usr/local/root//lib/root/libTreePlayer.so: undefined symbol: _ZTI13TVirtualIndex
Load Error: Failed to load Dynamic link library /usr/local/root//lib/root/libTreePlayer.so

*** Break *** segmentation violation
Generating stack trace…
0x40b5e47a in TRootCanvas::ShowEditor(bool) + 0x72 from /usr/local/root/lib/root/libGui.so.5.02
0x40e4f9f6 in TCanvas::ToggleEditor() + 0x40 from /usr/local/root/lib/root/libGpad.so.5.02
0x40b5d02a in TRootCanvas::ProcessMessage(long, long, long) + 0xb80 from /usr/local/root/lib/root/libGui.so.5.02
0x40acc962 in TGFrame::HandleClientMessage(Event_t*) + 0x36 from /usr/local/root/lib/root/libGui.so.5.02
0x40acfef8 in TGMainFrame::HandleClientMessage(Event_t*) + 0x22 from /usr/local/root/lib/root/libGui.so.5.02
0x40acc69d in TGFrame::HandleEvent(Event_t*) + 0x2f5 from /usr/local/root/lib/root/libGui.so.5.02
0x40aa9e8e in TGClient::HandleEvent(Event_t*) + 0xfe from /usr/local/root/lib/root/libGui.so.5.02
0x40aa9ab8 in TGClient::ProcessOneEvent() + 0x74 from /usr/local/root/lib/root/libGui.so.5.02
0x40aa9bdb in TGClient::HandleInput() + 0x2d from /usr/local/root/lib/root/libGui.so.5.02
0x40aa8292 in TGInputHandler::Notify() + 0x1e from /usr/local/root/lib/root/libGui.so.5.02
0x4029f9cb in TUnixSystem::DispatchOneEvent(bool) + 0x71 from /usr/local/root/lib/root/libCore.so.5.02
0x401a6b60 in TSystem::InnerLoop() + 0x18 from /usr/local/root/lib/root/libCore.so.5.02
0x401a6b00 in TSystem::Run() + 0x7a from /usr/local/root/lib/root/libCore.so.5.02
0x40133aa8 in TApplication::Run(bool) + 0x32 from /usr/local/root/lib/root/libCore.so.5.02
0x080532fb in from ./2DGraph.out
0x080541d3 in from ./2DGraph.out
0x41963ea0 in __libc_start_main + 0xe0 from /lib/tls/libc.so.6
0x0804aaa1 in TApplicationImp::ShowMembers(TMemberInspector&, char*) + 0x4d from ./2DGraph.out

However, the library cited in this error is where it is supposed to be :
lrwxrwxrwx 1 root root 18 jui 26 11:26 /usr/local/root/lib/root/libTreePlayer.so -> libTreePlayer.so.5*
lrwxrwxrwx 1 root root 21 jui 26 11:26 /usr/local/root/lib/root/libTreePlayer.so.5 -> libTreePlayer.so.5.02*
-rwxr-xr-x 1 root root 1612379 jui 26 11:06 /usr/local/root/lib/root/libTreePlayer.so.5.02*
lrwxrwxrwx 1 root root 12 jui 26 11:26 /usr/local/root/lib/root/libTree.so -> libTree.so.5*
lrwxrwxrwx 1 root root 15 jui 26 11:26 /usr/local/root/lib/root/libTree.so.5 -> libTree.so.5.02*
-rwxr-xr-x 1 root root 1715128 jui 26 10:58 /usr/local/root/lib/root/libTree.so.5.02*
lrwxrwxrwx 1 root root 18 jui 26 11:26 /usr/local/root/lib/root/libTreeViewer.so -> libTreeViewer.so.5*
lrwxrwxrwx 1 root root 21 jui 26 11:26 /usr/local/root/lib/root/libTreeViewer.so.5 -> libTreeViewer.so.5.02*
-rwxr-xr-x 1 root root 434617 jui 26 11:07 /usr/local/root/lib/root/libTreeViewer.so.5.02*

It also gives the same type of errors for many libraries…

Thank you,

Hi,

You need to load (or link against) libTree.so

Cheers,
Philippe.