I just installed python2.6 parallel to my python2.4. I ran this command ln -s /opt/python2.6/bin/python /usr/bin/python2.6 and now when I type python i get this error:
/opt/python2.6/bin/python: error while loading shared libraries: libpython2.6.so.1.0: cannot open shared object file: No such file or directory
I can type /usr/bin/python2.4 and the old python loads up fine. How do I restore the command “python” back to the old python in /usr/bin/python2.4
Right now my server wont deliver web pages because of this.
Check your PATH variable. Fix the path in there.