sudo apt install openssl1.1 (ubuntu 18.04) When building the application, the header is not visible, can it be that they are not in libssl1.1 and they are in a different package?

Closed due to the fact that off-topic participants 0xdb , Suvitruf , AK , entithat , Eugene Krivenja 11 Sep '18 at 9:59 .

It seems that this question does not correspond to the subject of the site. Those who voted to close it indicated the following reason:

  • "The question is caused by a problem that is no longer reproduced or typed . Although similar questions may be relevant on this site, solving this question is unlikely to help future visitors. You can usually avoid similar questions by writing and researching a minimum program to reproduce the problem before publishing the question. " - 0xdb, Suvitruf, AK, entithat, Eugene Krivenja
If the question can be reformulated according to the rules set out in the certificate , edit it .

  • The problem was solved by installing libssl-dev - GetLucky
  • Most of the libraries (packages) in ubuntu exist in two versions: name and name-dev, the first is just libraries to be able to run an application dependent on the package, and the second (with -dev suffix) is a package including header files that allows you to develop an application using the specified package - vegorov

1 answer 1

  1. There is simply no package called openssl1.1 in the repository for the ubuntu distribution version 18.04.
  2. but the package named libssl1.1 is available
  3. headers in debian -base distributions are usually separated from blobs in a package with the suffix -dev
  4. but there is no libssl1.1-dev in the specified repository of the package. probably it is called something different
  5. Obviously, a package with header files should be built from the same source as the blob package.
  6. open a page with a description of the package with blobs (link present on the search page): https://packages.ubuntu.com/bionic/libssl1.1
  7. and follow the link to the source package (at the top of the page: [ Source: имя.пакета ] ): https://packages.ubuntu.com/source/bionic/openssl
  8. and in the list of packages collected from these sources, we will see the name of the required package with header files (with the suffix -dev , as expected): libssl-dev