php startup error: gnupg.so symbol not defined in undefined symbol: gpgme_check_version_internal

Issues related to applications and software problems

php startup error: gnupg.so symbol not defined in undefined symbol: gpgme_check_version_internal

Postby sjc7737 » 2013/08/27 15:41:16

Hello,

Before I start, I just want to say thanks for any help provided!

I have a GoDaddy CentOS virtual server that I am migrating a website to. Everything is working correctly with one exception...
I am trying to get the module extension for gnupg to work in php....

I followed the instructions on this site: http://www.drupalfoo.com/drupal-commerce-gpg-php-gnupg-centos-cpanel-whm

Everything processed without any issues... however when I enter the command:
Code: Select all
php -m

I get this message:
Code: Select all
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/gnupg.so' - /usr/lib64/php/modules/gnupg.so: undefined symbol: gpgme_check_version_internal in Unknown on line 0
[PHP Modules]
bz2
calendar
Core
ctype
curl
date
dom
ereg
exif
fileinfo
filter
ftp
gd
gettext
gmp
hash
iconv
imap
json
ldap
libxml
mbstring
mysql
mysqli
odbc
openssl
pcntl
pcre
PDO
pdo_mysql
PDO_ODBC
pdo_pgsql
pdo_sqlite
pgsql
Phar
readline
Reflection
session
shmop
SimpleXML
soap
sockets
SPL
sqlite3
standard
tokenizer
wddx
xml
xmlreader
xmlrpc
xmlwriter
xsl
zip
zlib

[Zend Modules]


I have tried uninstalling the gnupg packages and associated libraries and re-installing them. I have rebooted the web server and performed various other methods of troubleshooting to no avail.

I have also spent many hours searching google for an answer and I have not found anything that matches my problem.

Thanks again for any help provided.

Best Regards,

---Shawn
sjc7737
 
Posts: 4
Joined: 2013/08/27 15:12:05

php startup error: gnupg.so symbol not defined in undefined

Postby gerald_clark » 2013/08/27 16:19:22

You need to ask cPanel support.
cPanel replaces a large part of CentOS, and cannot be supported here.
gerald_clark
 
Posts: 7180
Joined: 2005/08/05 15:19:54
Location: Northern Illinois, USA

Re: php startup error: gnupg.so symbol not defined in undefined symbol: gpgme_check_version_internal

Postby sjc7737 » 2013/08/27 17:24:06

Cpannel is not installed I only used the command language from that site to install the extension gnupg.so, which allows php script language to utilize gpg for encryption purposes.

Gpg is working correctly and php is working fine, but I cannot get that module (gnupg.so) to load and therefore the site I am moving to this new server has reduced functionality.

I just need gnupg.so to work and then this project is complete.

Best Regards,

---Shawn
sjc7737
 
Posts: 4
Joined: 2013/08/27 15:12:05

Re: php startup error: gnupg.so symbol not defined in undefined symbol: gpgme_check_version_internal

Postby AlanBartlett » 2013/08/27 19:38:56

It might be worthwhile ensuring that the gnupg.so file is actually available. Please try --

Code: Select all
[b]yum whatprovides gnupg.so[/b]
User avatar
AlanBartlett
Forum Moderator
 
Posts: 8975
Joined: 2007/10/22 11:30:09
Location: ~/Earth/UK/England/Suffolk

Re: php startup error: gnupg.so symbol not defined in undefined symbol: gpgme_check_version_internal

Postby sjc7737 » 2013/08/27 20:05:29

So I have learned a bit more throughout the day...
I may need to start posting on a pecl forum...

After a lot of research, and I may be mistaken... just a novice here.., but gnupg.so is complied by pecl (a package that I have installed) pecl is a dynamic extention library for php. See:http://pecl.php.net/package/gnupg

The .so of gnupg.so is reference of a php dynamic module extension... not something likely found in the yum package library... but just in case the results of
Code: Select all
yum whatprovides gnupg.so

Code: Select all
# yum whatprovides gnupg.so
Loaded plugins: fastestmirror, replace
Loading mirror speeds from cached hostfile
 * base: p3plmirror01.prod.phx3.secureserver.net
 * extras: p3plmirror01.prod.phx3.secureserver.net
 * rpmforge: mirror.yongbok.net
 * updates: p3plmirror01.prod.phx3.secureserver.net
 * webtatic: us-east.repo.webtatic.com
base                                                                              | 3.7 kB     00:00
extras                                                                            | 3.5 kB     00:00
kbs-CentOS-Extras                                                                 | 1.9 kB     00:00
kbs-CentOS-Testing                                                                | 1.9 kB     00:00
rpmforge                                                                          | 1.9 kB     00:00
updates                                                                           | 3.5 kB     00:00
Warning: 3.0.x versions of yum would erroneously match against filenames.
 You can use "*/gnupg.so" and/or "*bin/gnupg.so" to get that behaviour
No Matches found


After more research I believe the gpgme package might be at fault since gpgme has a check_version command that appears to be fowling up the process of loading the gnupg.so extention...

I have tried earlier versions of gpgme and I still get the same error message when php -m is executed.
sjc7737
 
Posts: 4
Joined: 2013/08/27 15:12:05

Re: php startup error: gnupg.so symbol not defined in undefined symbol: gpgme_check_version_internal

Postby AlanBartlett » 2013/08/27 21:16:44

Sorry, a minor mishap on my part. Please try again --

Code: Select all
[b]yum whatprovides \*/gnupg.so[/b]
User avatar
AlanBartlett
Forum Moderator
 
Posts: 8975
Joined: 2007/10/22 11:30:09
Location: ~/Earth/UK/England/Suffolk

Re: php startup error: gnupg.so symbol not defined in undefined symbol: gpgme_check_version_internal

Postby sjc7737 » 2013/08/27 22:24:34

Code: Select all
# yum whatprovides \*/gnupg.so
Loaded plugins: fastestmirror, replace
Loading mirror speeds from cached hostfile
 * base: p3plmirror01.prod.phx3.secureserver.net
 * extras: p3plmirror01.prod.phx3.secureserver.net
 * rpmforge: mirror.yongbok.net
 * updates: p3plmirror01.prod.phx3.secureserver.net
 * webtatic: us-east.repo.webtatic.com
base                                                                              | 3.7 kB     00:00
extras                                                                            | 3.5 kB     00:00
kbs-CentOS-Extras                                                                 | 1.9 kB     00:00
kbs-CentOS-Testing                                                                | 1.9 kB     00:00
rpmforge                                                                          | 1.9 kB     00:00
updates                                                                           | 3.5 kB     00:00
base/filelists_db                                                                 | 5.9 MB     00:00
extras/filelists_db                                                               |  10 kB     00:00
kbs-CentOS-Extras/filelists_db                                                    |  568 B     00:00
kbs-CentOS-Testing/filelists_db                                                   |  563 B     00:00
rpmforge/filelists_db                                                             | 6.1 MB     00:02
updates/filelists_db                                                              | 1.1 MB     00:00
webtatic/filelists_db                                                             |  65 kB     00:00
No Matches found
sjc7737
 
Posts: 4
Joined: 2013/08/27 15:12:05

Re: php startup error: gnupg.so symbol not defined in undefined symbol: gpgme_check_version_internal

Postby AlanBartlett » 2013/08/27 23:33:41

Thank you.

That has satisfied my curiosity in that it has proved that the gnupg.so file is not provided by any package currently installed or is installable (from the repositories that you have configured). :-(
User avatar
AlanBartlett
Forum Moderator
 
Posts: 8975
Joined: 2007/10/22 11:30:09
Location: ~/Earth/UK/England/Suffolk


Return to CentOS 6 - Software Support

Who is online

Users browsing this forum: No registered users and 7 guests