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 <>
Date: Tue, 25 Jan 2022 10:38:53 +0100

On Tue, Jan 25, 2022 at 9:56 AM Billa Surendra via curl-library
<> 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:, needed by /usr/local/lib/, not found (try using -rpath or -rpath-link)
> /usr/local/lib/ undefined reference to `dlclose_at_GLIBC_2.27'
> /usr/local/lib/ 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.

Received on 2022-01-25