Re: [ROOT] ROOT Build on RH6.2

From: Fons Rademakers (Fons.Rademakers@cern.ch)
Date: Mon Jun 26 2000 - 19:23:52 MEST


The default compiler on RH6.2 is egcs 1.1.x and not gcc 2.7.2. The
libg++.so.2.7.2 is only there for legacy programs. Programs compiled
with the default compiler will not work with it. You should select:
./configure linuxegcs

Cheers, Fons.



Alexey Toptygin wrote:
> 
> I am compiling root 2.25 with TTF, Pythia, Pyhia6, Cernlib, and Open GL on
> a RedHat 6.2 system.
> 
> I have /usr/lib/libg++.so.2.7.2
> so I don't understand why it's giving this error.
> 
> [root@css-b-340 root]# gmake
> g++ -O2  -o bin/cint cint/main/cppmain.o \
>            -Llib -lCint -lm -ltermcap -lbsd -ldl -lg++ -rdynamic
> /usr/bin/ld: cannot find -lg++
> collect2: ld returned 1 exit status
> gmake: *** [bin/cint] Error 1
> 
>                                 Alexey

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



This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:28 MET