On Tue, Jan 25, 2022 at 9:56 AM Billa Surendra via curl-library <curl-library@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@GLIBC_2.27' > /usr/local/lib/libcrypto.so: undefined reference to `dlerror@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