cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Link error in Sun5.6, why should gcc lib must needed?

From: hzhijun <hzhijun_at_huawei.com>
Date: Thu, 16 Dec 2004 16:17:21 +0800

> > ild: (Performing full relink) too many files changed
> > ild: (warning) shared lib, needed by argument lib -lcurl, not found ::
> > libgcc_s.so.1
> > ild: (undefined symbol) __floatdidf -- referenced in /home/hezy/FREE_LIB/lib/

> It sounds like libcurl may have been compiled with a different compiler
> than your application. Did you use curl-config to set the right options
> when compiling/linking your app?
>

I use CC to compiler my app, while use gcc to compile curl. How let curl find
CC compiler instead of cc?
Received on 2004-12-16