Re: Problems linking under RedHat Linux 5.1

From: Andrej Filipcic (Andrej.Filipcic@ijs.si)
Date: Wed Jun 17 1998 - 04:14:14 MEST


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
-------------------------------------------------------------



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:34:34 MET