Bitcoin Forum
June 07, 2024, 03:40:31 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: paying somebody 100$ to setup opengpg on a centos6 server  (Read 1072 times)
peterpan7 (OP)
Newbie
*
Offline Offline

Activity: 13
Merit: 0


View Profile
May 29, 2014, 05:21:47 PM
 #1

Hello,

I am trying to setup the openpgp and gmp package on a centos server. Apache and PHP are already running, and I have some scripts that automatically encrypt a message with pgp, so I need the required packages installed. I already installed everything successfully on 2 other servers (debian and ubuntu) but I dont get it to work on the centos server. need to say that I am a linux newb and its probably not big of a deal for somebody who has more experience with installing packages and their dependencies on a linux machine.

This is how I thought we do this. I prepare the ssh connection to the server and all the infos i got including the tutorial I used to set it up on the other servers. You connect via teamviewer to my PC and we text through notepad or something while you try your best in the putty connection.

Happy to hear from somebody,

PP
seoincorporation
Legendary
*
Online Online

Activity: 3178
Merit: 2965


Top Crypto Casino


View Profile
May 29, 2014, 08:54:54 PM
 #2

I make some proves, and i found these solution for the instalation:

cpan
look Crypt::RIPEMD160
curl -sL http://search.cpan.org/CPAN/authors/id/A/AN/ANDK/patches/Crypt-RIPEMD160-0.04-Andrew_Ruthven-01.patch.gz | zcat | patch -p0
perl Makefile.PL
make all test install


Code:
cpan
look Crypt::RIPEMD160
curl -sL http://search.cpan.org/CPAN/authors/id/A/AN/ANDK/patches/Crypt-RIPEMD160-0.04-Andrew_Ruthven-01.patch.gz | zcat | patch -p0
perl Makefile.PL
make all test install

If that works for you, here is my ADDY: 1PUSeepYK5JntazCyHp16TcjHSS7BjUUyC

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
peterpan7 (OP)
Newbie
*
Offline Offline

Activity: 13
Merit: 0


View Profile
May 29, 2014, 10:21:52 PM
 #3

hi, thanks for your help and the trust to deliver upfront, I will surely transfer the 100$ if it works out. I get this error though:

Working directory is /root/.cpan/build/Crypt-RIPEMD160-0.05-rxwWyS
[root@server Crypt-RIPEMD160-0.05-rxwWyS]# curl -sL http://search.cpan.org/CPAN/authors/id/A/AN/ANDK/patches/Crypt-RIPEMD160-0.04-Andrew_Ruthven-01.patch.gz | zcat | patch -p0
patching file rmd160.h
Hunk #1 FAILED at 25.
1 out of 1 hunk FAILED -- saving rejects to file rmd160.h.rej
[root@server Crypt-RIPEMD160-0.05-rxwWyS]#


any ideas?
seoincorporation
Legendary
*
Online Online

Activity: 3178
Merit: 2965


Top Crypto Casino


View Profile
May 29, 2014, 10:35:06 PM
 #4

It could be the kernel...

Type:uname -a
Code:
Linux localhost.localdomain 2.6.32-431.17.1.el6.centos.plus.x86_64 #1 SMP Thu May 8 02:18:11 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

If you dont got the last kernel you can update your centos:

Code:
su -
yum -y update

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
peterpan7 (OP)
Newbie
*
Offline Offline

Activity: 13
Merit: 0


View Profile
May 29, 2014, 10:47:16 PM
 #5

[root@server Crypt-RIPEMD160-0.05-rxwWyS]# uname -a
Linux server.bla.org 2.6.32-042stab083.2 #1 SMP Fri Nov 8 18:08:40 MSK 2013 x86_64 x86_64 x86_64 GNU/Linux
[root@serverCrypt-RIPEMD160-0.05-rxwWyS]# su -
[root@server~]# yum -y update
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirrordenver.fdcservers.net
 * epel: mirror.steadfast.net
 * extras: mirrors.loosefoot.com
 * updates: mirror.millry.co
Setting up Update Process
No Packages marked for Update
[root@server~]#

Sad
seoincorporation
Legendary
*
Online Online

Activity: 3178
Merit: 2965


Top Crypto Casino


View Profile
May 29, 2014, 11:21:56 PM
 #6

Code:
[windows@localhost ~]$ yum list | grep pgp
claws-mail-plugins-pgp.x86_64         3.9.0-1.el6              epel             
openpgpkey-milter.noarch              0.3-1.el6                epel             
pgp-tools.x86_64                      1.1.4-3.el6              epel             
pgp-tools-debuginfo.x86_64            1.1.4-3.el6              epel-debuginfo   
pgpdump.x86_64                        0.28-1.el6               epel             
pgpdump-debuginfo.x86_64              0.28-1.el6               epel-debuginfo   
postgresql-pgpool-II.i686             3.2.0-1.el6              epel             
postgresql-pgpool-II.x86_64           3.2.0-1.el6              epel             
postgresql-pgpool-II-debuginfo.x86_64 3.2.0-1.el6              epel-debuginfo   
postgresql-pgpool-II-devel.i686       3.2.0-1.el6              epel             
postgresql-pgpool-II-devel.x86_64     3.2.0-1.el6              epel             
postgresql-pgpool-II-recovery.x86_64  3.2.0-1.el6              epel             
python-pgpdump.noarch                 1.4-2.el6                epel             
[windows@localhost ~]$ yum list | grep gmp
gmp.i686                              4.3.1-7.el6_2.2          @base           
gmp.x86_64                            4.3.1-7.el6_2.2          @base/$releasever
atomic-php55-php-gmp.x86_64           5.5.12-11.el6.art        atomic           
atomic-php56-php-gmp.x86_64           5.6.0-10.el6.art         atomic           
gmp-devel.i686                        4.3.1-7.el6_2.2          base             
gmp-devel.x86_64                      4.3.1-7.el6_2.2          base             
gmp-static.x86_64                     4.3.1-7.el6_2.2          base             
gmpy.x86_64                           1.15-1.el6               epel             
gmpy-debuginfo.x86_64                 1.15-1.el6               epel-debuginfo   
[windows@localhost ~]$su -c "yum install gmp pgp-tools"

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
peterpan7 (OP)
Newbie
*
Offline Offline

Activity: 13
Merit: 0


View Profile
May 29, 2014, 11:56:05 PM
 #7

i am not quite sure what i was supposed to do right now, so i just copied your commands:

[root@server ~]# yum list | grep pgp
pgp-tools.x86_64                          1.1.4-3.el6                   @epel
claws-mail-plugins-pgp.x86_64             3.9.0-1.el6                   epel
openpgpkey-milter.noarch                  0.3-1.el6                     epel
pgpdump.x86_64                            0.28-1.el6                    epel
postgresql-pgpool-II.i686                 3.2.0-1.el6                   epel
postgresql-pgpool-II.x86_64               3.2.0-1.el6                   epel
postgresql-pgpool-II-devel.i686           3.2.0-1.el6                   epel
postgresql-pgpool-II-devel.x86_64         3.2.0-1.el6                   epel
postgresql-pgpool-II-recovery.x86_64      3.2.0-1.el6                   epel
python-pgpdump.noarch                     1.4-2.el6                     epel


[root@server ~]# yum list | grep gmp
gmp.x86_64                                4.3.1-7.el6_2.2               @base
gmp.i686                                  4.3.1-7.el6_2.2               base
gmp-devel.i686                            4.3.1-7.el6_2.2               base
gmp-devel.x86_64                          4.3.1-7.el6_2.2               base
gmp-static.x86_64                         4.3.1-7.el6_2.2               base
gmpy.x86_64                               1.15-1.el6                    epel
[root@server ~]#

then the install command which ended like this:

Installed:
  pgp-tools.x86_64 0:1.1.4-3.el6

Dependency Installed:
  gd.x86_64 0:2.0.35-11.el6
  libpaper.x86_64 0:1.1.23-6.1.el6
  mutt.x86_64 5:1.5.20-4.20091214hg736b6a.el6_5
  perl-Any-Moose.noarch 0:0.13-1.el6
  perl-Class-MethodMaker.x86_64 0:2.16-4.el6
  perl-Convert-BinHex.noarch 0:1.119-10.1.el6
  perl-GD.x86_64 0:2.44-3.el6
  perl-GnuPG-Interface.noarch 0:0.42-4.el6
  perl-IO-stringy.noarch 0:2.110-10.1.el6
  perl-MIME-tools.noarch 0:5.427-4.el6
  perl-MailTools.noarch 0:2.04-4.el6
  perl-Mouse.x86_64 0:0.58-2.1.el6
  perl-TermReadKey.x86_64 0:2.30-13.el6
  perl-Test-Simple.x86_64 0:0.92-136.el6
  perl-Text-Template.noarch 0:1.45-3.el6
  perl-TimeDate.noarch 1:1.16-11.1.el6
  perl-libintl.x86_64 0:1.20-1.el6
  tokyocabinet.x86_64 0:1.4.33-6.el6
  urlview.x86_64 0:0.9-7.el6

Complete!
seoincorporation
Legendary
*
Online Online

Activity: 3178
Merit: 2965


Top Crypto Casino


View Profile
May 30, 2014, 12:15:30 AM
 #8

pgp-tools:

Code:
This is a collection of several projects relating to OpenPGP.
* caff: CA - Fire and Forget signs and mails a key
* pgp-clean: removes all non-self signatures from key
* pgp-fixkey: removes broken packets from keys
* gpg-mailkeys: simply mail out a signed key to its owner
* gpg-key2ps: generate PostScript file with fingerprint paper strips
* gpgdir: recursive directory encryption tool
* gpglist: show who signed which of your UIDs
* gpgsigs: annotates list of GnuPG keys with already done signatures
* keylookup: ncurses wrapper around gpg --search
* gpgparticipants: create list of party participants for the organiser
* gpgwrap: a passphrase wrapper
* keyanalyze: minimum signing distance (MSD) analysis on keyrings
* sig2dot: converts a list of GnuPG signatures to a .dot file
* springgraph: creates a graph from a .dot file

gmp:

Code:
The gmp package contains GNU MP, a library for arbitrary precision arithmetic, signed integers operations, rational numbers and floating point numbers. GNU MP is designed for speed, for both small and very large operands. GNU MP is fast because it uses fullwords as the basic arithmetic type, it uses fast algorithms, it carefully optimizes assembly code for many CPUs' most common inner loops, and it generally emphasizes speed over simplicity/elegance in its operations.
Install the gmp package if you need a fast arbitrary precision library.

you installed those programs...

But that programs need some dependencys to work:

Code:
  gd.x86_64 0:2.0.35-11.el6
  libpaper.x86_64 0:1.1.23-6.1.el6
  mutt.x86_64 5:1.5.20-4.20091214hg736b6a.el6_5
  perl-Any-Moose.noarch 0:0.13-1.el6
  perl-Class-MethodMaker.x86_64 0:2.16-4.el6
  perl-Convert-BinHex.noarch 0:1.119-10.1.el6
  perl-GD.x86_64 0:2.44-3.el6
  perl-GnuPG-Interface.noarch 0:0.42-4.el6
  perl-IO-stringy.noarch 0:2.110-10.1.el6
  perl-MIME-tools.noarch 0:5.427-4.el6
  perl-MailTools.noarch 0:2.04-4.el6
  perl-Mouse.x86_64 0:0.58-2.1.el6
  perl-TermReadKey.x86_64 0:2.30-13.el6
  perl-Test-Simple.x86_64 0:0.92-136.el6
  perl-Text-Template.noarch 0:1.45-3.el6
  perl-TimeDate.noarch 1:1.16-11.1.el6
  perl-libintl.x86_64 0:1.20-1.el6
  tokyocabinet.x86_64 0:1.4.33-6.el6
  urlview.x86_64 0:0.9-7.el6

these dependencys was installed.

Now you can work with gpg and gmp on your server.

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
peterpan7 (OP)
Newbie
*
Offline Offline

Activity: 13
Merit: 0


View Profile
May 30, 2014, 01:24:12 AM
 #9

ah ok i think we are almost there then. I still cant call it via PHP, probably because the extension isnt loaded.

on the last linux server where it all worked i used this command i think:

echo extension=gnupg.so > /etc/php5/conf.d/gnupg.ini

on my new server the directory seems to be here:

/etc/php.d/

so i created the ini there, but it isnt loaded when i do phpinfo(), it only appears here:

Additional .ini files parsed
/etc/php.d/curl.ini, /etc/php.d/fileinfo.ini, /etc/php.d/gd.ini, /etc/php.d/gnupg.ini, /etc/php.d/json.ini, /etc/php.d/mbstring.ini, /etc/php.d/mcrypt.ini, /etc/php.d/mysql.ini, /etc/php.d/mysqli.ini, /etc/php.d/pdo.ini, /etc/php.d/pdo_mysql.ini, /etc/php.d/pdo_sqlite.ini, /etc/php.d/phar.ini, /etc/php.d/sqlite3.ini, /etc/php.d/zip.ini

the gmt is loaded file but no gpg in phpinfo()

Thanks for your help really appreciate it,

PP
seoincorporation
Legendary
*
Online Online

Activity: 3178
Merit: 2965


Top Crypto Casino


View Profile
May 30, 2014, 01:51:53 AM
 #10

Code:
[windows@localhost ~]$ yum whatprovides gnupg
Loaded plugins: fastestmirror, priorities, refresh-packagekit, security
740 packages excluded due to repository priority protections
gnupg2-2.0.14-6.el6_4.x86_64 : Utility for secure communication and data storage
Repo        : base
Matched from:
Other       : gnupg

gnupg2-2.0.14-6.el6_4.x86_64 : Utility for secure communication and data storage
Repo        : installed
Matched from:
Other       : Provides-match: gnupg

[root@localhost windows]# whereis gnupg
gnupg: /etc/gnupg /usr/share/gnupg

you can install by:

Code:
[windows@localhost ~]$ su -c "yum install gnupg2-2.0.14-6.el6_4.x86_64"


█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
peterpan7 (OP)
Newbie
*
Offline Offline

Activity: 13
Merit: 0


View Profile
May 30, 2014, 01:58:42 AM
 #11

[root@server ~]# yum whatprovides gnupg
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
epel/metalink                                            | 9.5 kB     00:00
 * base: mirrordenver.fdcservers.net
 * epel: mirror.steadfast.net
 * extras: mirrors.loosefoot.com
 * updates: mirror.millry.co
base                                                     | 3.7 kB     00:00
epel                                                     | 4.4 kB     00:00
epel/primary_db                                          | 6.2 MB     00:02
extras                                                   | 3.4 kB     00:00
tor                                                      | 2.9 kB     00:00
tor-source                                               | 2.9 kB     00:00
updates                                                  | 3.4 kB     00:00
gnupg2-2.0.14-6.el6_4.x86_64 : Utility for secure communication and data storage
Repo        : base
Matched from:
Other       : gnupg



gnupg2-2.0.14-6.el6_4.x86_64 : Utility for secure communication and data storage
Repo        : installed
Matched from:
Other       : Provides-match: gnupg



[root@server ~]# whereis gnupg
gnupg: /etc/gnupg /usr/share/gnupg
[root@server ~]# su -c "yum install gnupg2-2.0.14-6.el6_4.x86_64"
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
epel/metalink                                            | 9.5 kB     00:00
 * base: mirrordenver.fdcservers.net
 * epel: mirror.steadfast.net
 * extras: mirrors.loosefoot.com
 * updates: mirror.millry.co
base                                                     | 3.7 kB     00:00
extras                                                   | 3.4 kB     00:00
tor                                                      | 2.9 kB     00:00
tor-source                                               | 2.9 kB     00:00
updates                                                  | 3.4 kB     00:00
Setting up Install Process
Package gnupg2-2.0.14-6.el6_4.x86_64 already installed and latest version
Nothing to do
[root@server ~]#

seems to be installed... the problem is that I dont get it integrated in PHP
seoincorporation
Legendary
*
Online Online

Activity: 3178
Merit: 2965


Top Crypto Casino


View Profile
May 30, 2014, 02:32:28 AM
 #12

you can try
Code:
echo "extension=gnupg.so" > /etc/php.ini
or
Code:
echo extension=gnupg.so > /etc/php.d/gnupg.ini

Sources:

http://www.brandonchecketts.com/archives/2008/02
http://milindkoyande.com/category/cannot-open-shared-object-file/
https://github.com/willfarrell/angular-io-app/blob/master/Dockerfile

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
peterpan7 (OP)
Newbie
*
Offline Offline

Activity: 13
Merit: 0


View Profile
May 30, 2014, 02:36:32 AM
 #13

thats exactly what I have tried before unfortunately. The /etc/php.d/gnupg.ini is somewhat mentioned in the phpinfo() screen but it didnt load the extension. I also have put the line in php.ini but no changes Sad
seoincorporation
Legendary
*
Online Online

Activity: 3178
Merit: 2965


Top Crypto Casino


View Profile
May 30, 2014, 02:57:30 AM
 #14

i found the solution:

http://www.cpanelkb.net/how-to-install-gnupg-php-extension/

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
peterpan7 (OP)
Newbie
*
Offline Offline

Activity: 13
Merit: 0


View Profile
May 30, 2014, 03:38:49 AM
 #15

hmm this is what i was trying in the beginning. i installed all dependencies, but get an error when trying to run pecl install gnupg

[root@server ~]# pecl install gnupg
WARNING: channel "pecl.php.net" has updated its protocols, use "pecl channel-update pecl.php.net" to update
downloading gnupg-1.3.3.tgz ...
Starting to download gnupg-1.3.3.tgz (19,141 bytes)
......done: 19,141 bytes
5 source files, building
running: phpize
Configuring for:
PHP Api Version:         20090626
Zend Module Api No:      20090626
Zend Extension Api No:   220090626
building in /var/tmp/pear-build-rootKheR81/gnupg-1.3.3
running: /var/tmp/gnupg/configure
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for a sed that does not truncate output... /bin/sed
checking for cc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking how to run the C preprocessor... cc -E
checking for icc... no
checking for suncc... no
checking whether cc understands -c and -o together... yes
checking for system library directory... lib
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for PHP prefix... /usr
checking for PHP includes... -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib
checking for PHP extension directory... /usr/lib64/php/modules
checking for PHP installed headers prefix... /usr/include/php
checking if debug is enabled... no
checking if zts is enabled... no
checking for re2c... no
configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers.
checking for gawk... gawk
checking for gnupg support... yes, shared
checking for gnupg files in default path... not found
configure: error: Please reinstall the gpgme distribution
ERROR: `/var/tmp/gnupg/configure' failed
[root@server ~]#

/var/tmp/gnupg doesnt even exist...


i transferred you 25$ for a start to thank for your efforts so far. I really hope we can get this thing running.
seoincorporation
Legendary
*
Online Online

Activity: 3178
Merit: 2965


Top Crypto Casino


View Profile
May 30, 2014, 04:17:43 AM
 #16

i get the $25  Smiley

Y see 2 problems in your out put:

Code:
WARNING: channel "pecl.php.net" has updated its protocols, use "pecl channel-update pecl.php.net" to update

Code:
configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers.

i think you can solve with:

Code:
[root@localhost etc]# yum install re2c
[root@localhost etc]# pecl channel-update pecl.php.net

and then try again.

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
peterpan7 (OP)
Newbie
*
Offline Offline

Activity: 13
Merit: 0


View Profile
May 30, 2014, 07:50:23 AM
 #17

worked, but wasnt relevant :/


Installed:
  re2c.x86_64 0:0.13.5-1.el6

Complete!
[root@server ~]# pecl channel-update pecl.php.net
Updating channel "pecl.php.net"
Update of Channel "pecl.php.net" succeeded
[root@server ~]# pecl install gnupg
downloading gnupg-1.3.3.tgz ...
Starting to download gnupg-1.3.3.tgz (19,141 bytes)
......done: 19,141 bytes
5 source files, building
running: phpize
Configuring for:
PHP Api Version:         20090626
Zend Module Api No:      20090626
Zend Extension Api No:   220090626
building in /var/tmp/pear-build-rootbIyYzc/gnupg-1.3.3
running: /var/tmp/gnupg/configure
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for a sed that does not truncate output... /bin/sed
checking for cc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking how to run the C preprocessor... cc -E
checking for icc... no
checking for suncc... no
checking whether cc understands -c and -o together... yes
checking for system library directory... lib
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for PHP prefix... /usr
checking for PHP includes... -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib
checking for PHP extension directory... /usr/lib64/php/modules
checking for PHP installed headers prefix... /usr/include/php
checking if debug is enabled... no
checking if zts is enabled... no
checking for re2c... re2c
checking for re2c version... 0.13.5 (ok)
checking for gawk... gawk
checking for gnupg support... yes, shared
checking for gnupg files in default path... not found
configure: error: Please reinstall the gpgme distribution
ERROR: `/var/tmp/gnupg/configure' failed
[root@server ~]#


You sure you dont want to just connect via teamviewer and try a little yourself? We can continue like this but i figured for it to be more easy

I found this thread with somebody who has the same problem:

https://forums.cpanel.net/f34/installing-gnupg-php-module-204921.html
seoincorporation
Legendary
*
Online Online

Activity: 3178
Merit: 2965


Top Crypto Casino


View Profile
May 30, 2014, 02:16:15 PM
 #18

Some one solve installing 2 pkgs:

Quote
Ok, I opened a ticket with cPanel Support and Forest found the solution was to install gpgme "AND" the gpgme-devel pkgs...

I missed that extra requirement, that both pkgs were req'd.

Hope this helps someone else...


Code:
[windows@localhost ~]$ yum list | grep gpg
gpgme.x86_64                          1.1.8-3.el6              @base/$releasever
libgpg-error.i686                     1.7-4.el6                @base           
libgpg-error.x86_64                   1.7-4.el6                @base/$releasever
libgpg-error-devel.x86_64             1.7-4.el6                @base           
pygpgme.x86_64                        0.1-18.20090824bzr68.el6 @base/$releasever
gpgme.i686                            1.1.8-3.el6              base             
gpgme-devel.i686                      1.1.8-3.el6              base             
gpgme-devel.x86_64                    1.1.8-3.el6              base             
libgpg-error-devel.i686               1.7-4.el6                base             
mingw32-libgpg-error.noarch           1.6-13.el6.5             base             
[windows@localhost ~]$ su
Contraseña:
[root@localhost windows]# yum install gpgme gpgme-devel

Source: http://forums.cpanel.net/f5/gnupg-will-not-install-376982.html

Try that and if it doesn't work, we can try teamviewer.

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
peterpan7 (OP)
Newbie
*
Offline Offline

Activity: 13
Merit: 0


View Profile
May 30, 2014, 10:43:56 PM
 #19

[root@server ~]# yum list | grep gpg
gpgme.x86_64                              1.1.8-3.el6                   installed
libgpg-error.x86_64                       1.7-4.el6                     @base
pygpgme.x86_64                            0.1-18.20090824bzr68.el6      installed
gpgme.i686                                1.1.8-3.el6                   base
gpgme-devel.i686                          1.1.8-3.el6                   base
gpgme-devel.x86_64                        1.1.8-3.el6                   base
libgpg-error.i686                         1.7-4.el6                     base
libgpg-error-devel.i686                   1.7-4.el6                     base
libgpg-error-devel.x86_64                 1.7-4.el6                     base
mingw32-libgpg-error.noarch               1.6-13.el6.5                  base
[root@server ~]# su
[root@server ~]# yum install gpgme gpgme-devel
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
epel/metalink                                            | 7.2 kB     00:00
 * base: yum.phx.singlehop.com
 * epel: mirror.steadfast.net
 * extras: holmes.umflint.edu
 * updates: mirror.steadfast.net
base                                                     | 3.7 kB     00:00
extras                                                   | 3.4 kB     00:00
tor                                                      | 2.9 kB     00:00
tor-source                                               | 2.9 kB     00:00
updates                                                  | 3.4 kB     00:00
Setting up Install Process
Package gpgme-1.1.8-3.el6.x86_64 already installed and latest version
Resolving Dependencies
There are unfinished transactions remaining. You might consider running yum-complete-transaction first to finish them.
--> Running transaction check
---> Package gpgme-devel.x86_64 0:1.1.8-3.el6 will be installed
--> Processing Dependency: libgpg-error-devel for package: gpgme-devel-1.1.8-3.el6.x86_64
--> Running transaction check
---> Package libgpg-error-devel.x86_64 0:1.7-4.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package                   Arch          Version              Repository   Size
================================================================================
Installing:
 gpgme-devel               x86_64        1.1.8-3.el6          base        105 k
Installing for dependencies:
 libgpg-error-devel        x86_64        1.7-4.el6            base         14 k

Transaction Summary
================================================================================
Install       2 Package(s)

Total download size: 119 k
Installed size: 176 k
Is this ok [y/N]: y
Downloading Packages:
(1/2): gpgme-devel-1.1.8-3.el6.x86_64.rpm                | 105 kB     00:00
(2/2): libgpg-error-devel-1.7-4.el6.x86_64.rpm           |  14 kB     00:00
--------------------------------------------------------------------------------
Total                                           385 kB/s | 119 kB     00:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : libgpg-error-devel-1.7-4.el6.x86_64                          1/2
  Installing : gpgme-devel-1.1.8-3.el6.x86_64                               2/2
  Verifying  : libgpg-error-devel-1.7-4.el6.x86_64                          1/2
  Verifying  : gpgme-devel-1.1.8-3.el6.x86_64                               2/2

Installed:
  gpgme-devel.x86_64 0:1.1.8-3.el6

Dependency Installed:
  libgpg-error-devel.x86_64 0:1.7-4.el6

Complete!


seems like he did everything fine, but gnupg is still not showing up in phpinfo()

Id really appreciate it if you take a look via teamviewer, I will PM you
peterpan7 (OP)
Newbie
*
Offline Offline

Activity: 13
Merit: 0


View Profile
May 31, 2014, 12:46:29 AM
 #20

if anybody came via google or so and faces the same problem. The previous steps actually did fix the problem, i just had to run "pecl install gnupg" again and it works fine finally. Thanks seoincorporation great job.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!