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

Issues related to applications and software problems
Post Reply
sjc7737
Posts: 4
Joined: 2013/08/27 15:12:05

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

Post by 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: [url=http://www.drupalfoo.com/drupal-commerce-gpg-php-gnupg-centos-cpanel-whm]http://www.drupalfoo.com/drupal-commerce-gpg-php-gnupg-centos-cpanel-whm[/url]

Everything processed without any issues... however when I enter the command: [code]php -m[/code]
I get this message:
[code]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][/code]

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

gerald_clark
Posts: 10642
Joined: 2005/08/05 15:19:54
Location: Northern Illinois, USA

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

Post by 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.

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

Post by 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

User avatar
AlanBartlett
Forum Moderator
Posts: 9345
Joined: 2007/10/22 11:30:09
Location: ~/Earth/UK/England/Suffolk
Contact:

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

Post by AlanBartlett » 2013/08/27 19:38:56

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

[code]
[b]yum whatprovides gnupg.so[/b]
[/code]

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

Post by 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:[url=http://pecl.php.net/package/gnupg]http://pecl.php.net/package/gnupg[/url]

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]yum whatprovides gnupg.so[/code]
[code]# 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
[/code]

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.

User avatar
AlanBartlett
Forum Moderator
Posts: 9345
Joined: 2007/10/22 11:30:09
Location: ~/Earth/UK/England/Suffolk
Contact:

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

Post by AlanBartlett » 2013/08/27 21:16:44

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

[code]
[b]yum whatprovides \*/gnupg.so[/b]
[/code]

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

Post by sjc7737 » 2013/08/27 22:24:34

[code]# 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
[/code]

User avatar
AlanBartlett
Forum Moderator
Posts: 9345
Joined: 2007/10/22 11:30:09
Location: ~/Earth/UK/England/Suffolk
Contact:

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

Post by AlanBartlett » 2013/08/27 23:33:41

Thank you.

That has satisfied my curiosity in that it has proved that the [b]gnupg.so[/b] file [i]is not[/i] provided by any package currently installed or is installable (from the repositories that you have configured). :-(

Post Reply