On 03/10/2017 01:08 AM, JongWoon Lee wrote:
> Hi.
> 
> You needs to install libcurl library.
> 
> Follow these instructions to install.
> 
> $ sudo apt-get install libcurl4-openssl-dev
> $ sudo ldconfig

I know these are the official instructions, but they don't make much
sense to me.

First, ldconfig updates the cache used by the runtime linker (ld.so),
but the devel (-dev on ubuntu) packages don't contain the runtime
libcurl, but rather the one you compile against.  libcurl-dev would
depend on the package containing the runtime library, but if that
package is installed, ldconfig would be run automatically.  So the
ldconfig step is not of any real use.

Second, if we're going to build the target in a cross-build environment
(as is the case in the question that started this thread), then the
host's libcurl-dev is not going to be used anyway, you need a
cross-build version for the target.

So can someone explain what the intent here is?


(this seems to come from service/resource-container/SConscript)

Reply via email to