Update of Plesk failed with "symbol __cxa_pure_virtual, version libmysqlclient_16 not defined in file"

Refers to:

  • Plesk 10.4 for Linux
  • Plesk for Linux
  • Plesk 11.0 for Linux

Created:

2016-11-16 13:06:54 UTC

Modified:

2016-12-21 19:59:09 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Update of Plesk failed with "symbol __cxa_pure_virtual, version libmysqlclient_16 not defined in file"

Symptoms

Update of Plesk 10.4 failed on Ubuntu 10.04 or Debian 6.

In /var/log/sw-cp-server/error_log there are following messages

/usr/bin/sw-engine-cgi: relocation error: /usr/bin/sw-engine-cgi: symbol __cxa_pure_virtual, version libmysqlclient_16 not defined in file libmysqlclient.so.16 with link time reference

2014-10-26 12:41:11: (mod_fastcgi.c.1000) the fastcgi-backend /usr/bin/sw-engine-cgi -c /opt/psa/admin/conf/php.ini -d auto_prepend_file=auth.php3 -u psaadm failed to start:
2014-10-26 12:41:11: (mod_fastcgi.c.1004) child exited with status 127 /usr/bin/sw-engine-cgi -c /opt/psa/admin/conf/php.ini -d auto_prepend_file=auth.php3 -u psaadm
2014-10-26 12:41:11: (mod_fastcgi.c.1007) if you try do run PHP as FastCGI backend make sure you use the FastCGI enabled version.
You can find out if it is the right one by executing 'php -v' and it should display '(cgi-fcgi)' in the output, NOT (cgi) NOR (cli) For more information check http://www.lighttpd.net/documentation/fastcgi.html#preparing-php-as-a-fastcgi-program
2014-10-26 12:41:11: (mod_fastcgi.c.1012) If this is PHP on Gentoo add fastcgi to the USE flags
2014-10-26 12:41:11: (mod_fastcgi.c.1105) [ERROR]: spawn

Cause

Incorrect libmysqlclient16 package. Issue is registered as #PPPM-2212

Resolution

  1. Upgrade 'libmysqlclient16' package

    apt-get upgrade libmysqlclient16
  2. Reconfigure websites

    /usr/local/psa/admin/bin/httpdmng --reconfigure-all
  3. Proceed with upgrade.

Have more questions? Submit a request
Please sign in to leave a comment.