End goal: use PHP GnuPG library in my Mediawiki extension
I have installed
- gpgme with dependencies
- run pecl install gnupg = no errors
- added extension=gnupg.so to my php.ini
:
[root@dev-lamp01]# locate gnupg.so
/usr/lib64/php/modules/gnupg.so
[root@dev-lamp01]# file /usr/lib64/php/modules/gnupg.so
/usr/lib64/php/modules/gnupg.so: ELF 64-bit LSB shared object, AMD x86-64, version 1 (SYSV), not stripped
[root@dev-lamp01]# locate libgpgme.so.11
/usr/local/lib/libgpgme.so.11
/usr/local/lib/libgpgme.so.11.8.1
[root@dev-lamp01]# file /usr/local/lib/libgpgme.so.11
/usr/local/lib/libgpgme.so.11: symbolic link to `libgpgme.so.11.8.1'
[root@dev-lamp01]# file /usr/local/lib/libgpgme.so.11.8.1
/usr/local/lib/libgpgme.so.11.8.1: ELF 64-bit LSB shared object, AMD x86-64, version 1 (SYSV), not stripped
yet:
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/gnupg.so' - libgpgme.so.11: cannot open shared object file: No such file or directory in Unknown on line 0
what am i missing? thanks