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

Unknown version of libcurl required to build on Ubuntu #1195

Closed
QuAzI opened this issue Oct 12, 2023 · 2 comments
Closed

Unknown version of libcurl required to build on Ubuntu #1195

QuAzI opened this issue Oct 12, 2023 · 2 comments
Labels

Comments

@QuAzI
Copy link

QuAzI commented Oct 12, 2023

lnav v0.11.2 (clone from repo as is)
Ubuntu 22.04

According to documentation

libcurl - The cURL library for downloading files from URLs. Version 7.23.0 or higher is required.

$ sudo apt install libcurl4
libcurl4 is already the newest version (7.81.0-1ubuntu1.14).

./configure ends with

checking for curl-config... no
checking whether libcurl is usable... no
configure: error: libcurl required to build

Which version of curl I have to install to have a fresh version of lnav without snap? Because snap doesn't work in WSL

@QuAzI QuAzI added the bug label Oct 12, 2023
@meonkeys
Copy link
Contributor

You can get a self-contained (statically linked) pre-compiled binary from https://github.com/tstack/lnav/releases/tag/v0.11.2 .

If you really want to compile lnav, you'll need to install the -dev package corresponding to the libcurl runtime library it'll use later. Perhaps libcurl4-openssl-dev, but could also be libcurl4-nss-dev or libcurl4-gnutls-dev. See also: https://stackoverflow.com/questions/1157192/what-do-the-dev-packages-in-the-linux-package-repositories-actually-contain

@tstack
Copy link
Owner

tstack commented Nov 3, 2023

Yes, the *-dev packages need to be installed to build from source.

@tstack tstack closed this as completed Nov 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants