Has anyone tried integrating Curl 7.67.0 with MbedTLS 2.16.3 on Linux? I followed the instructions as per Compile cURL with Arm Mbed TLS — Mbed TLS documentation. I am able to download and compile MbedTLS. I then configured Curl to build with mbedtls and built it. When I type the command curl -V, I get the error message curl: symbol look up error: curl: undefined symbol: curl_multi_poll.
Does anyone know how to fix this missing symbol error?
Hi @vysh
I have tried to build according to the guidelines, and I didn’t get an error.
Note that the symbol curl_multi_poll() is a curl fucntion, defined in src/multi.c and it shouldn’t be related to what TLS library is used.
However, when I try to see list the symbols in the built curl application, I see:
U curl_multi_poll
This means that when I run the curl -V command curl_multi_poll is not called, and when you ran it, it was called.
Could you share the output of your curl configuration? ( the output after you do the ./configure command)
Regards,
Ron
I have now built Curl with MbedTLS. I uninstalled both Curl and Mbed and installed the latest version again. Curl version 7.68.0 and MbedTLS version 2. 16.3.
This time I added the path of the include file and the lib file of the MbedTLS in the configure command and configured Curl. I then built and installed Curl and ran the command Curl -V and got the following output:
curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 mbedTLS/2.16.3
Release-Date: 2020-01-08
Protocols: dict file ftp ftps gopher http https imap imaps pop3 pop3s rtsp smb smbs smtp smtps telnet tftp
Features: AsynchDNS IPv6 Largefile NTLM NTLM_WB SSL UnixSockets
The following note from the link helped:
If you have OpenSSL installed, but with the libraries in one place and the header files somewhere else, you have to set the LDFLAGS and CPPFLAGS environment variables prior to running configure. Something like this should work: