LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Old libs, New libs (https://www.linuxquestions.org/questions/linux-software-2/old-libs-new-libs-834821/)

bomelia 09-27-2010 04:45 PM

Old libs, New libs
 
I am trying to run some s/w that requires new libs (glibc2.4) but I do not have it. I am running Centos 4.7 and for technical reasons I cannot upgrade it. So, I was wondering If I could drop the required libs in or not. (without changing anything else)

mike

AlucardZero 09-27-2010 05:38 PM

No.

eveningsky339 09-27-2010 08:50 PM

Old libs, new libs, red libs, blue libs.

In all seriousness I think a bigger concern is your difficulties upgrading to a more recent release of CentOS. They may have a long support cycle but this distro does not like to backport.

bomelia 09-28-2010 09:01 AM

I do not have trouble going to a newer distro. My base workstation is used to compile simulations that run on a thousand node cluster! And the cluster is at 4.7. So, I can't just upgrade.

I guess I will just build a OS disk to deal with the problem (latest release).

Thanks

Mike

bomelia 09-28-2010 09:10 AM

Quote:

Originally Posted by AlucardZero (Post 4110730)
No.

BTW, I have been a member here since 2004. One of the reasons I ask few questions is because of answers like this. (I am refering more to his signatures)

AlucardZero 09-28-2010 09:53 AM

Well - you can't. That's the answer to your question; it's short and to the point. You were looking for a longer explanation, I gather?

You can't because glibc is a too important part of the system. If you tried e.g. building it yourself, you run a big risk of hosing your system. glibc is the standard GNU C library.

CentOS doesn't have a newer version available for version 4, and it doesn't backport much. However distros often provide glibc compatibility libs for older glibcs - see the compat-glibc package(s).

bomelia 09-28-2010 01:42 PM

I do prefer reasoned answers... guessing most would. And thank you. I suspected it was a bad idea, just wondered. I will install a recent OS version in an attempt to get to the bottom of my problem.

Thanks, Mike

Valery Reznic 09-29-2010 09:59 AM

Quote:

Originally Posted by bomelia (Post 4111708)
I do prefer reasoned answers... guessing most would. And thank you. I suspected it was a bad idea, just wondered. I will install a recent OS version in an attempt to get to the bottom of my problem.

Thanks, Mike

You can install more recent OS version on your development box,
build your application here, and then use statifier (http://statifier.sf.net) or Ermine (http://magicErmine.com) to build self-containing executable. This executable (single file) you can use on your cluster with CentOS 4.7.

Please note that you build OS shouldn't be too recent - otherwise resulting executable will not run on CentOS4.7


All times are GMT -5. The time now is 12:04 PM.