Flatpak: symbol lookup error: /lib64/libassuan.so.0

Bug Summary

From PHP version 7.4.1 this is showing in the site shell:

flatpak: symbol lookup error: /lib64/libassuan.so.0: undefined symbol: gpgrt_malloc, version GPG_ERROR_1.0

How can I get rid of it?

Environment Info

Fedora Linux 36
Local v6.4.3

Yes, after click in Open-site-shell in the terminal say that


Setting Local environment variables...
----
WP-CLI:   WP-CLI 2.6.0
Composer: 2.1.5 2021-07-23
PHP:      7.4.1
MySQL:    mysql  Ver 8.0.16 for Linux on x86_64 (MySQL Community Server - GPL)
----
Launching shell: /bin/bash ...
flatpak: symbol lookup error: /lib64/libassuan.so.0: undefined symbol: gpgrt_malloc, version GPG_ERROR_1.0
[chris@fedora public]$

OS: fedora workstation 36
But do can run wp-cli commands without problems so far.

wp --info
OS:	Linux 5.19.11-200.fc36.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Sep 23 15:07:44 UTC 2022 x86_64
Shell:	/bin/bash
PHP binary:	/opt/Local/resources/extraResources/lightning-services/php-7.4.1+18/bin/linux/bin/php
PHP version:	7.4.1
php.ini used:	/home/chris/.config/Local/run/G1x_vFpjZ/conf/php/php.ini
MySQL binary:	/opt/Local/resources/extraResources/lightning-services/mysql-8.0.16+6/bin/linux/bin/mysql
MySQL version:	mysql  Ver 8.0.16 for Linux on x86_64 (MySQL Community Server - GPL)
SQL modes:	ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION
WP-CLI root dir:	phar://wp-cli.phar/vendor/wp-cli/wp-cli
WP-CLI vendor dir:	phar://wp-cli.phar/vendor
WP_CLI phar path:	/home/chris/Local Sites/gondolrack/app/public
WP-CLI packages dir:	
WP-CLI global config:	/opt/Local/resources/extraResources/bin/wp-cli/config.yaml
WP-CLI project config:	
WP-CLI version:	2.6.0

❯ wp shell 
wp> get_template_directory_uri()
=> phar:///opt/Local/resources/extraResources/bin/wp-cli/wp-cli.phar/vendor/wp-cli/shell-command/src/WP_CLI/Shell/REPL.php:52:
string(57) "http://gondolrack.local/wp-content/themes/twentytwentytwo"
wp> 

Hello @shimsa -

Thank you for bringing this bug to our attention.

We do not have a Fedora machine to test this bug, though we can attempt to reproduce the error on a Linux machine.

That said, in full transparency, since this bug does not appear to be affecting functionality it will not be added to the engineering roadmap at this time.

We appreciate you!

Sam

Hello,

as you reminded me today, I looked into it and came up with a solution.

Solution for Fedora 36:

  • go to https://fedora.pkgs.org/36/fedora-x86_64/libassuan-2.5.5-4.fc36.x86_64.rpm.html
  • see Requires section
  • click on the package: libgpg-error.so.0(GPG_ERROR_1.0)(64bit)
  • click on Fedora 36
  • click on libgpg-error-1.45-1.fc36.x86_64.rpm and download the file
  • extract the package
  • find the file libgpg-error.so.0.33.0 and rename it to libgpg-error.so.0
  • copy and replace libgpg-error.so.0 to ~/.config/Local/lightning-services/php-7.4.30+3/bin/linux/shared-libs/
1 Like

This topic was automatically closed 36 hours after the last reply. New replies are no longer allowed.