Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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:
    158
    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
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. shopcentar

    shopcentar Well-Known Member
    PartnerNOC

    Joined:
    Jul 10, 2004
    Messages:
    55
    Likes Received:
    1
    Trophy Points:
    158
    somebody have this error, cpanel stuff, please can you check this issue?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. shopcentar

    shopcentar Well-Known Member
    PartnerNOC

    Joined:
    Jul 10, 2004
    Messages:
    55
    Likes Received:
    1
    Trophy Points:
    158
    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

    ?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. shopcentar

    shopcentar Well-Known Member
    PartnerNOC

    Joined:
    Jul 10, 2004
    Messages:
    55
    Likes Received:
    1
    Trophy Points:
    158
    I know that im not only one on the world, but please cpanel STUFF answer
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. keddie

    keddie Well-Known Member

    Joined:
    Nov 17, 2007
    Messages:
    50
    Likes Received:
    0
    Trophy Points:
    56
    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:
    158
    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
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. keddie

    keddie Well-Known Member

    Joined:
    Nov 17, 2007
    Messages:
    50
    Likes Received:
    0
    Trophy Points:
    56
    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:
    158
    :) great.

    Yes, you are right.

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

    Regards
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice