-
-
Notifications
You must be signed in to change notification settings - Fork 78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Windows Error: Could not open library 'libcurl.so.4.dll' #18
Comments
Could you try the following procedure: #17 (comment) ? |
@DirtyF I am trying to follow the instructions, but I can't seem to find the proper libcurl download - the only windows libcurl downloads are for cygwin, and I don't think that is correct? |
A pointer in the direction of the solution could be https://stackoverflow.com/a/47754520/873282. For me, Jekyll now starts, but I get following error:
|
@koppor I'm getting the same error. Did you have any luck resolving this yet? |
@jengalas No, I just downloaded the theme to my local git repository to keep things moving. I could have used the jeckyll docker image as another workaround, but that seemed to be too complex for my case. |
Thank you! I'll investigate the docker image if necessary. |
@benbalter Do you have any chance to review the issue? It's kind a mess around all that stuff with GitHub pages and it's impossible to find any fully suitable workaround😕 |
As this issue is related to GitHub Pages install on Windows, feel free to contact GitHub support. |
@DirtyF The situation isn't that simple as described here. As far as I got, the issue is not even related this component - it's caused by Probably, it's better to create a composite issue here: https://github.com/github/pages-gem. There is a related issue already registered, however it doesn't solve the issue entirely. You will still see an error if you use remote theme. |
@koppor Once you clone the theme locally, how do you point to it so you can proceed further?? |
Hit the same issue on #9. As far as I could tell libcurl was installed properly and I had a valid certificate. Eventually gave up trying to get remote theme working on Windows thinking it was something related to my specific environment. Maybe not... |
@nesdis This is the "magic" of Jekyll. Here my repo: https://github.com/koppor/wiki.flupp.de/ - I followed the how to of the "minimal mistakes theme" here: https://mmistakes.github.io/minimal-mistakes/docs/quick-start-guide/ |
I only have Windows machines to use for development, and I couldn't resolve the certificate error. I ended up hosting on Netlify instead of Github Pages; no problems. |
Version 174 of the Pages Gem makes the Jekyll Remote Theme dependency optional, and should resolve issues for Windows users trying to preview sites locally that don't use a remote theme. Those wanting to preview a theme locally will need to following the troubleshooting steps above to install cURL in their local environment. |
@benbalter What exactly are the steps to install cURL Could you please provide a url |
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Version 0.3.0 uses Ruby's native Net:HTTP, instead of Typhoeus (Libcurl), which may alleviate this issue. |
Thanks @benbalter, looks like version 0.3.1 fixed the issue I had on Windows.
|
I haven't seen that before, but think that's safe to ignore as it's an artifact of Jekyll looking for the |
On Windows 7, I'm unable to to run Github Pages locally. Is this expected? Does jekyll-remote-theme still have a dependency on libcurl?
Config.yml
Gem file
I run
$ bundle exec jekyll serve
Configuration file: C:/Users/Daniel.Ling/source/repos/dotnetdan-github-io/_config.yml
Dependency Error: Yikes! It looks like you don't have jekyll-remote-theme or one of its dependencies installed. In order to use Jekyll as currently configured, you'll need to install this gem. The full error message from Ruby is: 'Could not open library 'libcurl': The specified module could not be found. . Could not open library 'libcurl.dll': The specified module could not be found. . Could not open library 'libcurl.so.4': The specified module could not be found. . Could not open library 'libcurl.so.4.dll': The specified module could not be found. ' If you run into trouble, you can find helpful resources at https://jekyllrb.com/help/!
The text was updated successfully, but these errors were encountered: