M BUZZ CRAZE NEWS
// general

`CURL_OPENSSL_4' not found (required by curl)

By David Jones

i am trying to use curl and

curl -H "Content-Type: application/json" -X POST -d '{"items":[{"name":"first order","id":42}]}' 

responds with

curl: /home/sara/LD_LIBRARY/libcurl.so.4: version `CURL_OPENSSL_4' not found (required by curl)

followed the solution given (here)[curl is not working on Ubuntu 18.04 LTS but no luck

1 Answer

Run this command : locate libcurl.so.4Result will be :

  1. /YOUR_PATH/libcurl.so.4 (generally the path is "/usr/lib/x86_64-linux-gnu/libcurl.so.4")
  2. /usr/lib/x86_64-linux-gnu/libcurl.so.4.5.0

Remove the file which is causing the error usingsudo rm /YOUR_PATH/libcurl.so.4 command.

Recreate softlink by using following command :sudo ln -s /usr/lib/x86_64-linux-gnu/libcurl.so.4.5.0 /YOUR_PATH/libcurl.so.4

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy