Could not open library 'libcurl': libcurl: cannot open shared object file: No such file or directory
22,535
Solution 1
Try to install
curl
.If it doesn't work, try the command
ldconfig
(actualising libs)If it doesn't work :
- go to
/usr/lib
- run
find . | grep curl
, locate the .so file (eg like curl_path.so or latest libcurl.so.xx) - run
ln -s {curl_path.so} /usr/lib/libcurl.so
- run
ldconfig
- go to
Solution 2
Actually - what fixed the problem was installing typhoeus:
gem install typhoeus
Or whatever package is actually needed for libcurl.
Author by
user1247412
Updated on November 13, 2020Comments
-
user1247412 over 3 years
I am trying to execute rake db:create command. I get following error
Could not open library 'libcurl': libcurl: cannot open shared object file: No such file or directory.
Could not open library 'libcurl': libcurl: cannot open shared object file: No such file or directory. Could not open library 'libcurl.so': libcurl.so: cannot open shared object file: No such file or directory
Can anyone help me with this issue?