LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   gcc run time (https://www.linuxquestions.org/questions/linux-software-2/gcc-run-time-708597/)

bong.mau 03-02-2009 10:00 AM

gcc run time
 
hi
Environment:
Installed:gcc-c++-3.4.1-4mdk
Installed:libgcc1-3.4.1-4mdk
Installed:gcc-3.4.1-4mdk
Installed:gcc-cpp-3.4.1-4mdk
Prb:i tried to install some rpm
and the only prereq i miss is that the product was compiled with an higher release of gcc
Question:
is possible to run application compiled with an higher release ?
what i have to install to ensure backward compatibility ?
a gcc run time library or another product ?
(i' m a little tired to download sources,compile and build by myself a personal rpm package...thia vaste a lot of time !)
any help will be appreciated
thanks in advance
Maurizio

sundialsvcs 03-02-2009 10:14 AM

If the package is binary, then it does need to be compiled-with and running-with a compatible version of gcc ... and more-importantly, glibc.

So, you really do need to rectify this problem in the manner indicated by the package. You really do need to install the package(s) which bring your gcc/glibc up to date.

You may or may not be successful in compiling the source against an earlier version of gcc/glibc, and even if you do, there are still co-requisites and pre-requisites to think about. Basically, "you are very likely to waste your time and hair-follicles by going there."

bong.mau 03-02-2009 04:58 PM

to be more precise...
 
hi
here is the error message
[bong@localhost i586]$ rpm -iv mono-core-1.2.5-16.i586.rpm
warning: mono-core-1.2.5-16.i586.rpm: V3 DSA signature: NOKEY, key ID 9c800aca
error: Failed dependencies:
libc.so.6(GLIBC_2.4) is needed by mono-core-1.2.5-16

installing GLIBC_2.4 means the problem is resolved !
but what is the problem ?

i already have in my system a libc.so.6 but it belongs to the current glibc

installing the new glibc means removing the old one ?
or can i update it ?
because if i remain without a glibc i think i cannot run any program
the correct sequence for any program is to remove the older one with rpm -ev
and install the new one with rpm -iv...
but if i remove the glibc i think the when i try to run rpm -iv to the new glibc...the rpm program will not work because the system is missing of the glibc ...
can you understand the i have a clear idea how to proceed because i risk ...
can you understand why i asked for a compatibility product...
then i'm running a lot of program compiled form source satisfing all dependencies..because
the above risk...

any help about how to proceed substituting glibc without risk is appreciated..

thanks in advance

Maurizio


All times are GMT -5. The time now is 11:00 PM.