curl / Mailing Lists / curl-library / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

Re: curl run time error

From: Rainer Canavan via curl-library <curl-library_at_lists.haxx.se>
Date: Tue, 25 Jan 2022 10:38:53 +0100

On Tue, Jan 25, 2022 at 9:56 AM Billa Surendra via curl-library
<curl-library_at_lists.haxx.se> wrote:
>
> Thanks for your suggestion. I have checked config.log file and I have corrected those errors, now ./confofigure command went successfully. But when I am running make -j8 I am getting a new error. Can you please have look at this error and suggest me something to resolve this issue.
>
> Error:
>
> /usr/lib/gcc/riscv64-unknown-linux-gnu/7.3.1/../../../../riscv64-unknown-linux-gnu/bin/ld: warning: libdl.so.2, needed by /usr/local/lib/libssl.so, not found (try using -rpath or -rpath-link)
> /usr/local/lib/libcrypto.so: undefined reference to `dlclose_at_GLIBC_2.27'
> /usr/local/lib/libcrypto.so: undefined reference to `dlerror_at_GLIBC_2.27'

That looks to me like you're cross-compiling, but you've not told
configure correctly what you're doing. If that's not the case, you may
have to add -R/path/to/libdl and/or -Wl,-rpath,/path/to/libdl to
LDFLAGS, possibly with any other non-standard directories where you
store your libraries so that they can be found at runtime by the
binaries you build.

Rainer
-- 
Unsubscribe: https://lists.haxx.se/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html
Received on 2022-01-25