LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   does libgcrypt-dev comes with ubuntu package manager? (https://www.linuxquestions.org/questions/ubuntu-63/does-libgcrypt-dev-comes-with-ubuntu-package-manager-716531/)

sirpelidor 04-03-2009 03:56 AM

does libgcrypt-dev comes with ubuntu package manager?
 
hi, tried to download and install libgcrypt-dev but no luck.

when google, all i see is rpm for fc. i also found libgcrypt-1.2.0 from freshmeat. but i'm having trouble compile it by source it was complaining my c++ compiler:
configure: error: C++ preprocessor "/lib/cpp" fails sanity check

do we have libgcrypt11-dev or libgcrypt-dev available for ubuntu?

thank you

knudfl 04-03-2009 06:31 AM

Yes, 'libgcrypt11-dev' can be installed with
sudo apt-get install libgcrypt11-dev

( The version is 1.4.1 for 'Ubuntu Intrepid'
and 1.2.4 for 'Ubuntu Hardy' ).

Or use 'Synaptic', the package manager,
where you also can find it with "Search",
which is very convenient to use, if you
do not know the exact package name.

And do not try to compile 'libgcrypt' yourself.
Generally : do not compile anything available
in the package manager .... you should have
access to 28,000 packages in 'Intrepid'.
.....

To solve the problem with the c++ compiler :
Try : sudo apt-get install g++
.....

sirpelidor 04-03-2009 10:13 AM

Quote:

Originally Posted by knudfl (Post 3497097)
Yes, 'libgcrypt11-dev' can be installed with
sudo apt-get install libgcrypt11-dev

hi knudfl, i've tried the comment above but it said the package is not available. i'm thinking maybe i don't have the correct Package Source defined in my ubuntu gutsy??

Code:

Package libgcrypt11-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package libgcrypt11-dev has no installation candidate


knudfl 04-03-2009 12:04 PM

Well, may be 'Gutsy' isn't supported any more ? ?
Suggest : try changing mirror in 'Synaptic'.

Same package name
http://packages.ubuntu.com/gutsy/libgcrypt11-dev
http://packages.ubuntu.com/gutsy/i38...1-dev/download

You can also download it and see, if it can be installed.
.....

'Ubuntu 8.04.(2) Hardy' is the long term supported version.
.....

sirpelidor 04-03-2009 05:52 PM

Quote:

Originally Posted by knudfl (Post 3497419)
Well, may be 'Gutsy' isn't supported any more ? ?
Suggest : try changing mirror in 'Synaptic'.

Knudfl, thank you for your help. just verified my other gutsy at my office this morning. indeed libgcrypt11-dev shows up in apt-get. Looks like it is just my other gusty's package manager source file got corrupted.

good to know. thank you :)

knudfl 04-04-2009 09:49 AM

Sometimes 'sudo apt-get update' will solve an issue like this.

salwa 02-04-2015 04:48 AM

Hi sir,

I try to install libgcrypt but when I perform this command I get an error:
Code:

sudo apt-get install libgcrypt libgcrypt-devel
the error is
Code:

Unable to locate package libgcrypt
E: Unable to locate package libgcrypt-devel

Thank you in advance.

knudfl 02-04-2015 05:03 AM

← ref. post #7, @salwa.

Read post #2 : libgcrypt11-dev

And / or : $ apt-cache search libgcrypt

... or use the on-line Search ..
http://packages.ubuntu.com/search?ke...searchon=names
→ → libgcrypt11-dev


-


All times are GMT -5. The time now is 03:15 PM.