Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 03-03-2003, 03:24 PM   #1
LQ Newbie
Registered: Mar 2003
Posts: 2

Rep: Reputation: 0
Question Redhat 8.0 - C compatibility libraries

We just upgraded to Redhat linux 8.0 and are now having problems compiling and using our old C code.

The old executable files don't work (says command not found) so I tried to recompile the code.

When I type make I get the following error message

/bin/sh: line 1: /usr/bin/i486-linuxlibc5-gcc: No such file or directory
make: *** [vm_enc] Error 127

/usr/bin/i486-linuxlibc5-gcc no longer exists. We tried looking for C compatibility libraries for Redhat 8.0 in order to get i486-linuxlibc5-gcc to work.

Does anyone know where we can get i486-linuxlibc5-gcc ???

Instead of /usr/bin/i486-linuxlibc5-gcc , we now have /usr/bin/i386-redhat-linux-gcc . So we tried to change the makefile from
CC = /usr/bin/i486-linuxlibc5-gcc
CC = /usr/bin/i386-redhat-linux-gcc

This seemed to work in terms of compiling the code, but now our code does not work correctly.

Are we missing something???

Thank you, Yifty
Old 03-03-2003, 03:41 PM   #2
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,681

Rep: Reputation: 218Reputation: 218Reputation: 218
Gcc version 3.2 (I think it's used in RH 8) differs from older versions. If you have problems running old programs, consider installing the version you had (may be from source, so you don't need to fight dependencies).
Old 03-03-2003, 04:01 PM   #3
LQ Newbie
Registered: Mar 2003
Posts: 2

Original Poster
Rep: Reputation: 0
How can I install more than one version of Gcc?

Thanks for the quick reply,

How can we have both of the following compilers on the system without any conflicts?


Can you please direct us on how we might do this or where to look. Thank you very much

Old 03-03-2003, 04:12 PM   #4
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,681

Rep: Reputation: 218Reputation: 218Reputation: 218
You can have them both, but when one is compiled from source. It's because of problems wih RPMs. It's hard to force them to install into a directory you choose. You can get gcc source from I don't know which version you had (you can check it if you still have old installation cd, it's in gcc package name). You need to download it and compile it. By default the executable(filename: gcc) will be installed in /usr/local/bin.

Then you have many options. You can use GCC environmental variable and set it to the compiler you'd like to use. You can configure your makefiles to use the one you want. You can change the main symlink to pint to another version.

In all cases, you should be careful about gcc libraries. When you're using the version you compiled, you need to change LD_LIBRARY_PATH or to have /usr/local/lib at the beggining.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
C++ runtime library compatibility with Redhat libraries srinatar SUSE / openSUSE 2 01-30-2005 12:47 AM
C++ runtime library compatibility with Redhat libraries ( post #1) srinatar Fedora 1 01-30-2005 12:46 AM
RedHat NTFS compatibility florian_mrt Linux - Hardware 3 03-18-2004 10:13 PM
RedHat Video Compatibility noahrei Linux - Hardware 4 09-01-2003 09:30 PM
modem compatibility with redhat chozzie Linux - Newbie 1 12-18-2002 05:39 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:49 PM.

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