Error while loading shared libraries: /usr/lib/libstdc++.so.6

Posted: 3p in Php

I have faced an error while checking php version

Error while loading shared libraries: /usr/lib/libstdc++.so.6: requires glibc 2.5 or later dynamic linker

Solution;-

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 because 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*;

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s