Find the answer to your Linux question:
Results 1 to 2 of 2
Hi all, I am using RHEL 4 system which comes with glibc-2.3.4-2.13. I want to run an application which requires glibc-2.4 atleast. I tried to upgrade, but for vain. The ...
  1. #1
    Just Joined!
    Join Date
    Jul 2008
    Location
    Hyderabad,India.
    Posts
    20

    Unhappy Any idea for upgrading glibc

    Hi all,

    I am using RHEL 4 system which comes with glibc-2.3.4-2.13. I want to run an application
    which requires glibc-2.4 atleast.

    I tried to upgrade, but for vain. The system has crashed, saying "Kernel Panic Error". And i do not have internet to my system.

    Can anybody tell me how to upgrade glibc. OR atleast a resource of how to upgrade glibc

    Waiting for answer.

    Thanks in advance.

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,974
    How did you "upgrade" your library? Also, a lot of your current applications are dependent upon the older version of glibc shared libraries. You cannot just install a binary version and expect things to work properly. You first need to revert to 2.3.4, then you need to get the source code for 2.4.x and build it, installing it into /usr/local/lib and not /usr/lib. You will also need to build your application for your environment, directing the build to link to glibc in /usr/local/lib. Also, when you run the application, you will likely need to modify your LD_LIBRARY_PATH environment by prefixing it with /usr/local/lib so the runtime application finds the correct shared library. If you statically link the new glibc, however, you will not need to alter the LD_LIBRARY_PATH.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...