Re: Problems linking under RedHat Linux 5.1

Fons Rademakers (Fons.Rademakers@cern.ch)
Wed, 17 Jun 1998 11:30:11 +0200


We've corrected all the Makefiles and install procedures for Linux/egcs.
Initialy we did not notice the problem since we were running on machines
that also had libg++, now with fresh RH5.1 there is no libg++ anymore
so we noticed and fixed the problem.

Cheers, Fons.

Andrej Filipcic wrote:
>
> On Tue, 16 Jun 1998, David F. Nitz wrote:
>
> > I previously had tried the Linux 5.0 - ecgs version of root 2.00/8.
> > (see below). After receiving Rene's response, I installed the Linux
> > 5.0 - egcs version of root 2.00/8. Now I have the following problem
> > when running "rootcint". It complains that it can't find libg++.so.2.8.
> > That version of the library does not exist on my system, and I've not
> > been able to find a version on the Web. There is a pointer on the egcs
> > web page, but the link is broken. Suggestions?
> --------------
> You should remove -lg++ from the Makefile. libstdc++ (standard c++ lib)
> is evolving toward standard ANSI c++ library and is
> linked by default with g++ or c++. libg++ is considered obsolete
> and includes only old clases not conforming the standard. -lg++ should
> also be removed from makefiles in ROOT source in case of egcs or
> gcc 2.8 compiler, especially from $ROOTSYS/test/Makefile.
>
> Andrej
> _____________________________________________________________
> Andrej Filipcic, E-mail: Andrej.Filipcic@ijs.si
> Department of Experimental High Energy Physics - F9
> Jozef Stefan Institute, Jamova 39, P.o.Box 3000
> SI-1001 Ljubljana, Slovenia
> Tel.: +386-61-177-3674 Fax: +386-61-125-7074
> -------------------------------------------------------------

-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland          Phone: +41 22 7679248
E-Mail: Fons.Rademakers@cern.ch              Fax:   +41 22 7677910