cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: error invoking curl: "line 17: no such file or directory"

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Thu, 8 Mar 2007 16:38:31 -0800

On Thu, Mar 08, 2007 at 03:07:10PM -0800, DA Viragh wrote:
> .sh command (loosely) is as follows and works no problem on the
> Unix side:
>
> curl -k -E PEMFILE DIR_LIST_URL
>
> but produces the following error message on the Linux box:
>
> curl: line 17: /opt/exp/lib/curl/bin/curl: No such file or
> directory
>
> Like I said, not sure where this /opt/exp... etc dir is coming
> from. Is this a hard-coded setting that I need to be changing
> with an env variable perhaps?

It looks like 'curl' (in /usr/bin/curl or /usr/local/bin/curl or wherever)
is actually a shell script that calls (or tries to) the 'real' curl in
/opt/exp/lib/curl/bin/curl. However, that 'real' curl is installed on your
Unix box but not your Linux box. You need to either install it, or fix
the script to point to the real curl's correct location.

>>> Dan

-- 
http://www.MoveAnnouncer.com              The web change of address service
          Let webmasters know that your web site has moved
Received on 2007-03-09