cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Running curl in production

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Thu, 21 Aug 2008 20:23:01 -0700

On Thu, Aug 21, 2008 at 11:13:01PM -0400, Praveen wrote:
> Hello,
> I was able to run curl with gcc and libgcc installed. But since this is a
> production server, cannot have the gcc and libgcc in our production
> environment.
>
> Any ideas / suggestions about running curl in a production environment without
> gcc and libgcc?
>
> Thanks,
> Praveen
>
> Once I remove these and run curl, get the following errors:
>
> exec(): 0509-036 Cannot load program ./curl because of the following errors:
> 0509-022 Cannot load module /<mypath>/curl/lib/libcurl.a(libcurl.so.4).
> 0509-150 Dependent module libgcc_s.a(shr.o) could not be loaded.
> 0509-022 Cannot load module libgcc_s.a(shr.o).
> 0509-026 System error: A file or directory in the path name does not
> exist.
> 0509-022 Cannot load module curl.
> 0509-150 Dependent module /<mypath>/curl/lib/libcurl.a(libcurl.so.4)
> could not be loaded.
> 0509-022 Cannot load module .

What platform is this? curl doesn't need anything special from gcc at
run time than any other gcc-compiled program. libgcc_s is used for
exception handling support but since curl doesn't use exceptions the
source of the dependency must elsewhere. It might be in another shared
library that libcurl uses or due to some kind of compiler flag used to
compile curl.

>>> Dan

-- 
http://www.MoveAnnouncer.com              The web change of address service
          Let webmasters know that your web site has moved
-------------------------------------------------------------------
List admin: http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-users
FAQ:        http://curl.haxx.se/docs/faq.html
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2008-08-22