I have Fedora 4 installed on my computer and it has glibc version 2.5.3, but I want to install a software that needs a glibc 2.7+. On the other hand, I have some programs that need this 2.5.3 version. I have three questions regarding this problem:

  1. How can I install another glibc on my system and still keep the 2.5.3 as default
  2. How can I pass the address of new glibc to the program that I am going to install (is it an option in ./configure?). The software that I am going to install is nodejs.
  3. In future, how can I tell my software which glibc to use?

2 Answers 2


This is classical sysadmin problem, if I get it right, this tool is just what you need:


What it does is control environment variables, if you want to load a specific version of glibc you need to put it on the LD_LIBRARY_PATH (and ideally remove the other one), same deal with programs and applications.

The environment is controlled by loading and unloading modulefiles, the syntax for those files is explained here.

  • there is no LD_LIBRARY_PATH variable
    – orezvani
    May 3, 2013 at 12:12
  • 1
    That's because you are using only the default paths, if you define LD_LIBRARY_PATH with some custom library and compile with that library the compiler will search in the LD_LIBRARY_PATH and the default places (I'm not sure the about the search order)
    – RSFalcon7
    May 4, 2013 at 12:49

Whatever needs glibc-2.7 won't run on Fedora 4 (for lack of other libraries, or missing kernel features).

Fedora 4 is now 7 or so years old, out of any support for 6 years. Update.

  • 1
    Nope, I am now running a few programs that use glibc-2.7!!!!
    – orezvani
    May 3, 2013 at 12:11
  • 1
    @emab, update now.
    – vonbrand
    May 3, 2013 at 14:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.