No package 'p11-kit-1' found

Asked by Brutal_Moose

      I am a novice at Linux. If you have advice, or an answer to my question, please give a full explanation, so that I may understand it. Please do not omit any steps in the instructions, or I will probably not be able to complete them. Thank you.

      Ubuntu MATE 16.04 laptop.

      I went to the gnutls-2.12.23 folder, in my Home directory, and entered the command:

./configure>

It produced an error:

checking for P11_KIT... configure: error: Package requirements (p11-kit-1 >= 0.11) were not met:

No package 'p11-kit-1' found

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Manfred Hampl
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

sudo apt-get install libp11-kit-dev

Then retry.

Revision history for this message
Manfred Hampl (m-hampl) said :
#2

If you are "a novice at Linux", why are you then trying to compile packages yourself instead of installing pre-compiled versions provided by the package management system?

What are you trying to achieve?

From your information in https://answers.launchpad.net/ubuntu/+question/292025 I assume that you are using Ubuntu 16.04.
The version of gnutls provided in Ubuntu 16.04 is 3.4.10-4ubuntu1 and gnutls-2.12.23 is outdated.

Revision history for this message
Brutal_Moose (brutalmoose) said :
#3

Invalid operation libp11-kit-dev

Did you try this yourself before telling me to do it?

Revision history for this message
Brutal_Moose (brutalmoose) said :
#4

Manfred, there is no need to guess what version of Ubuntu I am using -- I said what it was in my question, if you had bothered to read it.

I am attempting to fix them myself because I paid for an application, and that application produces this error:

Couldn't load file:/home/................/runtime/1.3.2-beta/libtide.so, error: libgnutls.so.26: cannot open shared object file: No such file or directory

What solution should a novice do to fix this, Manfred?

Revision history for this message
Manfred Hampl (m-hampl) said :
#5

1. Sorry, I really overlooked the line with the version number.

2. If you paid for the application you can request to get a version that is working with current operating systems.

3. It seems that you mistyped the command
actionparsnip gave
sudo apt-get install libp11-kit-dev
but I assume you typed
sudo apt-get libp11-kit-dev

4. An approach worth trying would be to manually download and install the libgnutls26 package for trusty.
Depending on the architecture that your system is running (amd64 or i386), you have the links in
https://launchpad.net/ubuntu/+source/gnutls26/2.12.23-12ubuntu2.5 to download the libgnutls26_2.12.23-12ubuntu2.5_XXXXX.deb files.

Revision history for this message
Brutal_Moose (brutalmoose) said :
#6

     Yes, Manfred, I mistyped this one too. Here is the output:

~$ sudo apt-get install libp11-kit-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
libp11-kit-dev is already the newest version (0.23.2-3).
libp11-kit-dev set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

     The company that produces this application does not have a newer version than 2013. It worked decently in 14.x, it worked poorly in 15.x, and quite poorly in 16.x. I paid a decent amount of money for it.

I extracted the file gnutls26_2.12.23-12ubuntu2.debian, and examined the contents inside, but I do not know what to do with them, and unlike in Windows, there is no README file for common users.

Revision history for this message
Best Manfred Hampl (m-hampl) said :
#7

There are package management programs to care for installing .deb files.

What is the output of the command
dpkg --print-architecture
?

If it says i386, the download the file
https://launchpad.net/~ubuntu-security-proposed/+archive/ubuntu/ppa/+build/8983826/+files/libgnutls26_2.12.23-12ubuntu2.5_i386.deb
to your computer, or if it says amd64, then download the file
https://launchpad.net/~ubuntu-security-proposed/+archive/ubuntu/ppa/+build/8983823/+files/libgnutls26_2.12.23-12ubuntu2.5_amd64.deb

Then open a command terminal, change directory to the folder where you stored the file (perhaps "cd Downloads") and install it with the command
dpkg -i libgnutls26_2.12.23-12ubuntu2.5_amd64.deb
or
dpkg -i libgnutls26_2.12.23-12ubuntu2.5_i386.deb
depending on architecture, and report the result.

Revision history for this message
Brutal_Moose (brutalmoose) said :
#8

Thanks Manfred Hampl, that solved my question.

Revision history for this message
Brutal_Moose (brutalmoose) said :
#9

     I had downloaded the same .deb file the day before, Manfred, but I accidentally extracted it, instead of opening it with a package manager. Maybe the icon looked similar to a compressed box?

     After successfully and smoothly installing the gnutls .deb package, another error appeared. Rather than Linux automatically fixing this error, it did nothing. I was able to install the missing file with Synaptic Package Manager. After that, my application was able to be installed. To my surprise, the company that created my application also put out a new version, so it made me even more happy. Thanks for your help!