[ROOT] Root on Solaris 2.8 with thread-support

From: Andreas Zoglauer (zog@ipp.mpg.de)
Date: Mon Apr 19 2004 - 16:43:30 MEST


Hello Rooters,

I try to port my programs to Solaris 2.8.
To do so, I have to recompile ROOT with thread-support enabled.
Everything compiles, but when I try to start ROOT, I get the following 
problem:

ld.so.1: (skip)/analysis/Software/root/bin/root.exe: fatal: relocation 
error: file (skip)/analysis/Software/root/lib/libGX11.so: symbol 
XInitThreads: referenced symbol not found

The start screen of ROOT shows up but then ROOT hangs.

Any ideas? Are there any general problems with ROOT, Solaris and thread 
support? Or have I simply forgot to include some special library??

ROOT  : 4.00/03
CC -V : CC: Forte Developer 7 C++ 5.4 Patch 111715-07 2003/04/13


Thanks in advance,
Andreas


PS:
Bye the way I had to do one modification to get it compiling:

CC -O  -o bin/root rootx/src/rootx.o rootx/src/rootxx.o -L. -lXpm  -lX11
Undefined                       first referenced
  symbol                             in file
setsockopt 
/afs/ipp-garching.mpg.de/sun4x_58/lib/libX11.so
authdes_create 
/afs/ipp-garching.mpg.de/sun4x_58/lib/libX11.so
socket 
/afs/ipp-garching.mpg.de/sun4x_58/lib/libX11.so
inet_addr 
/afs/ipp-garching.mpg.de/sun4x_58/lib/libX11.so
getsockname 
/afs/ipp-garching.mpg.de/sun4x_58/lib/libX11.so
xdrmem_create 
/afs/ipp-garching.mpg.de/sun4x_58/lib/libX11.so
connect 
/afs/ipp-garching.mpg.de/sun4x_58/lib/libX11.so
gethostbyname 
/afs/ipp-garching.mpg.de/sun4x_58/lib/libX11.so
ld: fatal: Symbol referencing errors. No output written to bin/root
gmake: *** [bin/root] Error 1

Adding -lsocket to the last line solved the problem:
  CC -O  -o bin/root rootx/src/rootx.o rootx/src/rootxx.o -L. -lXpm 
-lX11 -lsocket



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