۱۳۸۹ دی ۱۸, شنبه

ImportError: libcurl.so.4: cannot open shared object file: No such file or directory

[root@PersianAdmins ~]# python2.5
Python 2.5.2 (r252:60911, Jan  8 2011, 15:41:06)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-48)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import pycurl
Traceback (most recent call last):
  File "", line 1, in
  File "build/bdist.linux-x86_64/egg/pycurl.py", line 7, in
  File "build/bdist.linux-x86_64/egg/pycurl.py", line 6, in __bootstrap__
ImportError: libcurl.so.4: cannot open shared object file: No such file or directory
>>>
راه حل:
export LD_LIBRARY_PATH=/usr/local/lib

هیچ نظری موجود نیست: