LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-02-2009, 10:00 AM   #1
bong.mau
Member
 
Registered: Apr 2004
Posts: 391

Rep: Reputation: 30
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
 
Old 03-02-2009, 10:14 AM   #2
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,671
Blog Entries: 4

Rep: Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945
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."
 
Old 03-02-2009, 04:58 PM   #3
bong.mau
Member
 
Registered: Apr 2004
Posts: 391

Original Poster
Rep: Reputation: 30
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Not able to run gcc smartgupta Programming 2 10-06-2008 08:00 AM
Is a script, run at boot time from init.d, run with root authority? tmbrwolf53 Linux - Server 2 03-31-2007 08:15 PM
gcc does not run nor g++ thematrimix Debian 3 10-02-2005 10:06 PM
gcc or cc cant run MI3GTO Linux From Scratch 4 03-02-2005 12:15 PM
Installing GCC for the first time MisterESauce Linux - Newbie 3 01-31-2005 08:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:17 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration