Re: SuSE Linux compiling problems

Pasha Murat (murat@cdfsga.fnal.gov)
Sun, 21 Feb 1999 18:30:17 -0600 (CST)


Jochen Reuther writes:
> Hello all,
>
> I'm currently trying to make root work on my SuSE Linux system (with
> gcc) and after passing several problems successfully I ran in the
> following problem that I don't know how to fix it:.
> I try to recompile the whole root package (v2.21) with the given
> Makefile.linux and I get this error message:
>
> Generating dictionary BASE_G__Base1.cxx...
> rootcint: can't load library 'libCint.so'
> make: *** [BASE_G_Base1.cxx] Error 16
>
> Same problem when I try to start rootcint manually.
> The enviroment variable ROOTSYS is correctly set.
> The file $ROOTSYS/lib/libCint.so was just compiled before.
> Options to create .so have been -shared -Wl,-soname,libCint.so -g
> When compiling cint there was a linking problem with not finding the
> libtermcap.so that I fixed with a softlink to an existing
> libtermcap.so.2.0.8
> My gcc don't need a LD_LIBRARY_PATH, but I don't think that's the prob.
>

I've been having similar problem on SGI/IRIX/egcs.
For some reason dropping '-Wl,-soname,libCint.so' from the list of linker
options solved the problem - though I don't have a clue why.

-pasha