cURL / Mailing Lists / curl-users / Single Mail

curl-users

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

From: DA Viragh <dvyyyyyy_at_yahoo.com>
Date: Thu, 8 Mar 2007 21:53:12 -0800 (PST)

Dan,

You absolutely nailed it, thanks so much! It was indeed invoking
a script, not the actual curl.

Thanks again,

Don
--- Dan Fandrich <dan_at_coneharvesters.com> wrote:

> 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
>

 
____________________________________________________________________________________
Expecting? Get great news right away with email Auto-Check.
Try the Yahoo! Mail Beta.
http://advision.webevents.yahoo.com/mailbeta/newmail_tools.html
Received on 2007-03-09