[ROOT] Load Error: Failed to load Dynamic link library

From: Jose Caballero (Jose.Caballero@ciemat.es)
Date: Tue Jul 29 2003 - 17:54:16 MEST


Hi:

I use Root 3.05/05 in Linux RedHat with compiler g++3.2
I'm trying to compile a Selector.C file (the file .tar includes 
Selector.C and Selector.h). When I issue
root[] .L Selector.C+
I obtain the following answer


Info in <TUnixSystem::ACLiC>: creating shared library 
/afs/ciemat.es/user/c/caballero/private/ROOT/pruebas/./Selector_C.so
dlopen error: 
/afs/ciemat.es/user/c/caballero/private/ROOT/pruebas/./Selector_C.so: 
undefined symbol: _ZNSt8ios_baseC2ERKS_
Load Error: Failed to load Dynamic link library 
/afs/ciemat.es/user/c/caballero/private/ROOT/pruebas/./Selector_C.so
/usr/lib/crt1.o: In function `_start':
/usr/lib/crt1.o(.text+0x18): undefined reference to `main'
/afs/ciemat.es/user/c/caballero/private/ROOT/pruebas/./filergZs1w.o: In 
function `std::basic_ios<char, std::char_traits<char> 
 >::basic_ios[not-in-charge](std::basic_ios<char, std::char_traits<char> 
 > const&)':
/afs/ciemat.es/user/c/caballero/private/ROOT/pruebas/./filergZs1w.o(.gnu.linkonce.t._ZNSt9basic_iosIcSt11char_traitsIcEEC2ERKS2_+0x26): 
undefined reference to 
`std::ios_base::ios_base[not-in-charge](std::ios_base const&)'
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 : Thu Jan 01 2004 - 17:50:14 MET