Question

I am trying to run the plone server from ssh by doing ./bin/instance start but I am getting this wierd error that says Python-2.4/bin/python: fatal: libstdc++.so.5: open failed: No such file or directory. I tried to do export LD_LIBRARY_PATH=/usr/local/Python-2.4/bin/python and it says LD_LIBRARY_PATH=/usr/local/Python-2.4/bin/python: is not an identifier. But when I do ls -rtl /usr/local/lib/libstdc++.so.5, I can see that libstdc++.so.5.0.5 is there. I am using ssh secure shell in Windows XP. Can anyone suggest me how to remove this error?

Était-ce utile?

La solution

I had to set the LD_LIBRARY_PATH as follows

$ LD_LIBRARY_PATH=/usr/local/lib
$ export LD_LIBRARY_PATH

I had my libstdc in /usr/local/lib and I had to tell the system to find the unavailable libraries here!

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top