インポートしようとしていpycurlます:
$ python -c "import pycurl"
Traceback (most recent call last):
File "<string>", line 1, in <module>
ImportError: libcurl.so.4: cannot open shared object file: No such file or directory現在、にlibcurl.so.4あり/usr/local/libます。ご覧のとおり、これは次の場所にありsys.pathます。
$ python -c "import sys; print(sys.path)"
['', '/usr/local/lib/python2.5/site-packages/setuptools-0.6c9-py2.5.egg', 
'/usr/local/lib/python25.zip', '/usr/local/lib/python2.5', 
'/usr/local/lib/python2.5/plat-linux2', '/usr/local/lib/python2.5/lib-tk', 
'/usr/local/lib/python2.5/lib-dynload', 
'/usr/local/lib/python2.5/sitepackages', '/usr/local/lib', 
'/usr/local/lib/python2.5/site-packages']どんな助けでも大歓迎です。
LD_LIBRARY_PATH正しく設定していない場合は、私の最新の回答を参照してください(コメントにコロンがないと思いました)。