Skip to content
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

Runtime error on NixOS #8

Closed
nyanloutre opened this issue Feb 11, 2020 · 3 comments
Closed

Runtime error on NixOS #8

nyanloutre opened this issue Feb 11, 2020 · 3 comments
Labels
bug (major) Something isn't working at all

Comments

@nyanloutre
Copy link

Hello,

After building it successfully on NixOS I got the following error during runtime :

Settings file not found. Would you like to configure jftui? [y/n]
> y
src/net.c:314: curl_share_setopt(s_curl_sh, CURLSHOPT_SHARE, CURL_LOCK_DATA_PSL) failed.
FATAL: libcurl error: Feature not enabled in this library.

Do you know where it could come from ?

@Aanok
Copy link
Owner

Aanok commented Feb 12, 2020

It means the version of curl you have installed on your system wasn't built with a feature used by jftui (sharing the Public Suffix List between handles to save a bit of memory and cycles).

Thankfully it's not a vital feature and I've been meaning to tidy up curl usage in the codebase for a while. I'll try and figure out a way to test for features at compile time and enable them selectively. Thanks for the report.

In the meantime, I don't use Nix so I'm not too sure, but it looks like the repository has two versions of curl. If you have the basic one installed, you may want to try switching to the full one as a temporary workaround.

@Aanok Aanok added the bug (major) Something isn't working at all label Feb 12, 2020
@nyanloutre
Copy link
Author

I tried with both provided versions of curl but this didn't help solve the error

@Aanok Aanok closed this as completed in d63996b Feb 16, 2020
@nyanloutre
Copy link
Author

Thanks !
It's working now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug (major) Something isn't working at all
Projects
None yet
Development

No branches or pull requests

2 participants