tags:

views:

47

answers:

1

Hi All,

I am working on OpenSolaris(2009.06) OS. i recently installed the pycurl libraires using the following command:

$> python setup.py install --curl-config=/usr/local/bin/curl-config

the installation went perfectly fine. However now when i am trying to import the pycurl library in my python program, an error is being reported

>>>import pycurl
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
ImportError: ld.so.1: isapython2.4: fatal: libcurl.so.4: open failed: No such file or directory

I cant figure out where exactly i am going wrong. Any help...?

Thanks in advance. Shubham

A: 

Sounds like your loader doesn't know where to find the cURL library. See your OS documentation for how to specify locations to search.

Ignacio Vazquez-Abrams
The cURL library is installed in the /usr/bin directory$> which curl/usr/bin/curland the PATH variable has the entry for this directory :$> echo $PATH/usr/sbin:/usr/binis this not sufficient???
Uh... that's the binary. It's looking for the library.
Ignacio Vazquez-Abrams