{"id":1997,"date":"2022-08-30T15:21:11","date_gmt":"2022-08-30T15:21:11","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2013\/12\/08\/php-startup-unable-to-load-dynamic-library-usr-lib64-php-modules-gd-so-undefined-symbol-gdimagewebpctx-in-unknown-collection-of-common-programming-errors\/"},"modified":"2022-08-30T15:21:11","modified_gmt":"2022-08-30T15:21:11","slug":"php-startup-unable-to-load-dynamic-library-usr-lib64-php-modules-gd-so-undefined-symbol-gdimagewebpctx-in-unknown-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2022\/08\/30\/php-startup-unable-to-load-dynamic-library-usr-lib64-php-modules-gd-so-undefined-symbol-gdimagewebpctx-in-unknown-collection-of-common-programming-errors\/","title":{"rendered":"PHP Startup: Unable to load dynamic library &#39;\/usr\/lib64\/php\/modules\/gd.so&#39; undefined symbol: gdImageWebpCtx in Unknown-Collection of common programming errors"},"content":{"rendered":"<p>This means, that gdImageWebpCtx symbol cannot be found in shared libraries used by the module. gdImageWebpCtx is provided by gd\/libgd (not php-gd).<\/p>\n<pre><code>readelf -s \/usr\/lib64\/libgd.so.2\n<\/code><\/pre>\n<p>and<\/p>\n<pre><code>nm -D \/usr\/lib64\/libgd.so.2\n<\/code><\/pre>\n<p>will list symbols and I&#8217;m very sure, that you won&#8217;t find it there.<\/p>\n<p>I had dozens of similar\/compatibility problems with packages provided by Remi Collet (looks like he&#8217;s very busy to maintain everything et cetera).<\/p>\n<p>Remove all remi packages (<code>rpm -qa|grep remi<\/code>), delete remi-release package and install last available php\/gg\/etc packages from EPEL repository (you may need to downgrade them with <code>rpm -Uvh package.rpm --oldversion<\/code>). <strong>Then upgrade all packages (!).<\/strong><\/p>\n<p>If you want to have php 5.5, then I recommend you to download <strong>src.rpm<\/strong>&#8216;s from remi&#8217;s repo, install src.rpm and recompile with <code>rpmbuild --target x86_64 -ba \/root\/rpmbuild\/SPECS\/php.spec<\/code> . This way all binaries will be built according to your system.<\/p>\n<p>That&#8217;s the reason why I never use REMI&#8217;s php rpms. Mysql ones are good.<\/p>\n<p id=\"rop\"><small>Originally posted 2013-12-08 05:40:14. <\/small><\/p>","protected":false},"excerpt":{"rendered":"<p>This means, that gdImageWebpCtx symbol cannot be found in shared libraries used by the module. gdImageWebpCtx is provided by gd\/libgd (not php-gd). readelf -s \/usr\/lib64\/libgd.so.2 and nm -D \/usr\/lib64\/libgd.so.2 will list symbols and I&#8217;m very sure, that you won&#8217;t find it there. I had dozens of similar\/compatibility problems with packages provided by Remi Collet (looks [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1997","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/1997","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=1997"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/1997\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=1997"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=1997"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=1997"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}