The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

python -V python: error while loading shared librarie

Discussion in 'General Discussion' started by shopcentar, Oct 15, 2011.

  1. shopcentar

    shopcentar Well-Known Member
    PartnerNOC

    Joined:
    Jul 10, 2004
    Messages:
    55
    Likes Received:
    1
    Trophy Points:
    8
    Hi,

    after night update from cron rpm on test server we get error
    python -V
    python: error while loading shared libraries: /usr/lib/libstdc++.so.6: requires glibc 2.5 or later dynamic linker

    also apache are down.
    we tested on other server and sam thing

    problem are with libstdc++.so.6.0.8 we "fixed" this with change simlink from old
    libstdc++.so.6.0.3 to libstdc++.so.6

    so new libstdc++.so.6.0.8 are not compatible with glib

    we run RHE4

    but this is not full proof solution.

    Regards
     
  2. shopcentar

    shopcentar Well-Known Member
    PartnerNOC

    Joined:
    Jul 10, 2004
    Messages:
    55
    Likes Received:
    1
    Trophy Points:
    8
    somebody have this error, cpanel stuff, please can you check this issue?
     
  3. shopcentar

    shopcentar Well-Known Member
    PartnerNOC

    Joined:
    Jul 10, 2004
    Messages:
    55
    Likes Received:
    1
    Trophy Points:
    8
    cpanelstuff, do you have solution for this error
    /usr/local/apache/conf/php.conf: Cannot load /usr/local/apache/modules/mod_suphp.so into server: /usr/lib/libstdc++.so.6: requires glibc 2.5

    ?
     
  4. shopcentar

    shopcentar Well-Known Member
    PartnerNOC

    Joined:
    Jul 10, 2004
    Messages:
    55
    Likes Received:
    1
    Trophy Points:
    8
    I know that im not only one on the world, but please cpanel STUFF answer
     
  5. keddie

    keddie Well-Known Member

    Joined:
    Nov 17, 2007
    Messages:
    50
    Likes Received:
    0
    Trophy Points:
    6
    I have just discovered this issue on one of my legacy Centos 4.7 CPanel servers:

    I'm not using suphp and Apache is working fine. A lot of basic commands aren't though:

    At first glance it looks like a problem with RHEL 4 / Centos 4, any thoughts Cpanel?

    Regards,

    Al
     
  6. shopcentar

    shopcentar Well-Known Member
    PartnerNOC

    Joined:
    Jul 10, 2004
    Messages:
    55
    Likes Received:
    1
    Trophy Points:
    8
    we have RHE4

    fix are

    ########################
    FIX
    ########################
    cd /usr/lib/;ls -la libst*;


    #then remove symbolic link
    rm libstdc++.so.6

    #then recreate symbolic link for OLD file libstdc++.so.6.0.3 becouse libstdc++.so.6.0.8 not working

    ln -s libstdc++.so.6.0.3 /usr/lib/libstdc++.so.6

    #check what you done
    ls -la libst*;

    BUT this is manual FIX, whay this happend, whay libstdc++.so.6.0.8 not working ?

    cpanel, please check this issue.

    Regards
     
  7. keddie

    keddie Well-Known Member

    Joined:
    Nov 17, 2007
    Messages:
    50
    Likes Received:
    0
    Trophy Points:
    6
    Thanks shopcentar, relinking to the old libstdc++ file worked perfectly.

    I would be interested if others who are still on Centos 4 are having this issue?

    I agree, Cpanel should take a look at this while Centos 4 is still (just) being supported..
     
  8. shopcentar

    shopcentar Well-Known Member
    PartnerNOC

    Joined:
    Jul 10, 2004
    Messages:
    55
    Likes Received:
    1
    Trophy Points:
    8
    :) great.

    Yes, you are right.

    cpanelsutff, I know or we know how to fix that, but please somebody check this issue!

    Regards
     
Loading...

Share This Page