Hi,
I am using ROOT 3.10.02 on Red Hat 9 gcc 3.2.2.
I have compiled ROOT using threads by doing
./configure linux --enable-thread
The libThread.so library was created in the $ROOTSYS/lib directory, but when
I follow the instructions from
http://www-linux.gsi.de/~go4/HOWTOthreads/howtoframe.html, to use threads in
CINT, I get the following error
*******************************************
* *
* W E L C O M E to R O O T *
* *
* Version 3.10/02 19 December 2003 *
* *
* You are welcome to visit our Web site *
* http://root.cern.ch *
* *
*******************************************
FreeType Engine v2.1.3 used to render TrueType fonts.
Compiled for linux with thread support.
CINT/ROOT C/C++ Interpreter version 5.15.115, Dec 9 2003
Type ? for help. Commands must be C++ statements.
Enclose multiple statements between { }.
root [0] gSystem->Load("/usr/lib/libpthread.so");
dlopen error: /usr/lib/libpthread.so: invalid ELF header
Load Error: Failed to load Dynamic link library /usr/lib/libpthread.so
*** Interpreter error recovered ***
Does anyone know what the problem is?
Thanks
Kerry
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:17 MET