On Thu, May 26, 2005 at 12:02:38PM +0300, Boris Gorelik wrote:
> 
> Hello, list.
> Can anybody help me with this issue?
> I need to install gcc3.2.2 on my Mandriva 2005, whithout removing the 
> existing 
> gcc3.4 . So I do
> [builddir]$ <sorcedir>/configure --prefix=/opt/gcc322 --program-suffix-3.2.2 

No need for --program-suffix-3.2.2 if you change --prefix. It will be
less convinient if you do.

> [builddir]$ make 
> [builddir]$ sudo make install 
> 
> Everything works smoothly, but after the install is done, lots of programs 
> fail to start:
> [tmp]$ konsole
> konsole: //opt/gcc322/lib/libgcc_s.so.1: version `GCC_3.3' not found 
> (required 
> by /usr/lib/libstdc++.so.6)
> (the error message is always the same). Removing /opt/gcc322 solves the 
> problem.

Removing /opt/gcc322 from where? From PATH or from LD_LIBRARY_PATH?
Generally, I do not think it's recommended to run programs with shared
libs that are compiled with different compilers. So use your gcc322
(in LD_LIBRARY_PATH) only for programs compiled with it. I know for
sure that some versions are known to be incompatible. IIRC the big
jump was exactly between 3.2 and 3.3, but I might be wrong.
-- 
Didi


=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to