RE: [ROOT] Failed to load Dynamic link library

From: Philippe Canal (
Date: Thu Oct 21 2004 - 06:21:58 MEST


You need load a shared library that implements the function
GetMomIndex(float) (it can be (but does not have to be) implemented in


-----Original Message-----
From: []
On Behalf Of
Sent: Wednesday, October 20, 2004 5:19 AM
Subject: [ROOT] Failed to load Dynamic link library


I use Root 3.10/02 in Linux Mandrake with compiler gcc-3.3.2
I'm trying to compile a AnaBeam.C file (the file .tar includes
AnaBeam.C and AnaBeam.h). When I issue
root[] .L Selector.C+
I obtain the following answer

Info in <TUnixSystem::ACLiC>: creating shared library
dlopen error:
/home/mihai/GSI/root/./ undefined symbol: _Z11GetMomIndexf
Load Error: Failed to load Dynamic link library
In function `_start':
../sysdeps/i386/elf/start.S: undefined reference to 'main'
/home/mihai/GSI/root/./filegebo1d.o(.text+0x29c2): In function
'G_filegebo1d_7_44(G_value*, char const*, G_param*, int)':
:undefined reference to 'GetMomIndex(float)'
/home/mihai/GSI/root/./ undefined reference to
collect2: ld returned 1 exit status
*** Interpreter error recovered ***

What can I do?
Thank you very much in advance for your help.

This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:10 MET