curl / Mailing Lists / curl-library / Single Mail

curl-library

Re: Intel Fortran Compilation error related to libcurl.a

From: Lianyuan Zheng - NOAA Federal <lianyuan.zheng_at_noaa.gov>
Date: Tue, 10 Apr 2018 15:04:16 -0400

Hi, Daniel,

Do you have pre-compiled curl binary package for Red Hat Enterprise Linux
7.4 with Intel Compiler version 18.0.1? If yes, where we can find and
download it?

Thanks,
Lianyuan

On Wed, Apr 4, 2018 at 6:23 PM, Daniel Stenberg <daniel_at_haxx.se> wrote:

> On Wed, 4 Apr 2018, Lianyuan Zheng - NOAA Federal wrote:
>
> However, when I compile the same code with option -static using the
>> following command:
>>
>> ifort -static -o convert2 convert2.f -I/home/net/zheng/include
>> -I/home/net/zheng/include/curl -L/home/net/zheng/lib -lnetcdff -lnetcdf
>> -lhdf5_hl -lhdf5 -lz -lcurl
>>
>
> This is asking to link with a static libcurl. When linking statically you
> must provide all other dependency libs as well on the link command line.
> Looking at those errors, you need at least -ldl, -lssl, -lcrypto and -lz
> (again). Maybe something else too.
>
> When you buid curl, it generates curl-config and "curl-config
> --static-libs" is made to generate the list of libs to use in the link
> line. That might help. It can be a really extensive list.
>
> --
>
> / daniel.haxx.se
> -------------------------------------------------------------------
> Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
> Etiquette: https://curl.haxx.se/mail/etiquette.html

-- 
Lianyuan Zheng
Physical Scientist
NOAA/National Ocean Service
Center for Operational Oceanographic Products and Services
1305 East West Highway, SSMC4, Station 7340
Silver Spring, MD 20910
Office: 240-533-0550
Email: Lianyuan.Zheng_at_noaa.gov

-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2018-04-10