cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Running curl in production

From: Praveen <sampraveen_at_gmail.com>
Date: Fri, 22 Aug 2008 09:38:22 -0400

We are running on AIX 5.3. We need support for openssl which I guess
requires libgcc_s. When we compiled the openssl and curl, had both gcc and
libgcc. Since we cannot have a compiler in a production environment, trying
to run curl without it.

-praveen

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 *

On 8/21/08, Praveen <sampraveen_at_gmail.com> 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 .
>
>

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