1 (edited by marclaporte 2014-08-30 07:07:37)

Topic: PHP 5.5 on ClearOS: php-gd error requires libvpx.so.1

Hi!

I created the following by adapting Remi's instructions:
http://www.clearfoundation.com/docs/how … _php_5.5.x

There are issues but it's a working temporary way to get PHP 5.5 (until we work out a more future-proof solution, hopefully with SCLs)

I used the procedure today and all worked fine, except:
yum install --enablerepo=remi,remi-php55 install php-opcache

Which generates:
Error: Package: php-gd-5.5.16-1.el6.remi.1.x86_64 (remi-php55)
           Requires: libvpx.so.1()(64bit)

Any ideas?

Thanks!


Full log below:

[root ~]# yum install --enablerepo=remi,remi-php55 install php-opcache
Loaded plugins: clearcenter-marketplace, fastestmirror
ClearCenter Marketplace: fetching repositories...
Loading mirror speeds from cached hostfile
 * clearos: mirror3-toronto.clearsdn.com
 * clearos-addons: mirror3-toronto.clearsdn.com
 * clearos-extras: mirror3-toronto.clearsdn.com
 * clearos-updates: mirror3-toronto.clearsdn.com
 * clearos-updates-testing: mirror3-toronto.clearsdn.com
 * epel: mirror.cogentco.com
 * private-clearcenter-dyndns: download4.clearsdn.com:80
 * remi: remi.check-update.co.uk
 * remi-php55: remi.check-update.co.uk
Setting up Install Process
No package install available.
Resolving Dependencies
--> Running transaction check
---> Package php-opcache.x86_64 0:5.5.16-1.el6.remi.1 will be installed
--> Processing Dependency: php-common(x86-64) = 5.5.16-1.el6.remi.1 for package: php-opcache-5.5.16-1.el6.remi.1.x86_64
--> Running transaction check
---> Package php-common.x86_64 0:5.5.16-1.el6.remi will be updated
--> Processing Dependency: php-common(x86-64) = 5.5.16-1.el6.remi for package: php-recode-5.5.16-1.el6.remi.x86_64
--> Processing Dependency: php-common(x86-64) = 5.5.16-1.el6.remi for package: php-process-5.5.16-1.el6.remi.x86_64
--> Processing Dependency: php-common(x86-64) = 5.5.16-1.el6.remi for package: php-pdo-5.5.16-1.el6.remi.x86_64
--> Processing Dependency: php-common(x86-64) = 5.5.16-1.el6.remi for package: php-bcmath-5.5.16-1.el6.remi.x86_64
--> Processing Dependency: php-common(x86-64) = 5.5.16-1.el6.remi for package: php-xml-5.5.16-1.el6.remi.x86_64
--> Processing Dependency: php-common(x86-64) = 5.5.16-1.el6.remi for package: php-mcrypt-5.5.16-1.el6.remi.x86_64
--> Processing Dependency: php-common(x86-64) = 5.5.16-1.el6.remi for package: php-tidy-5.5.16-1.el6.remi.x86_64
--> Processing Dependency: php-common(x86-64) = 5.5.16-1.el6.remi for package: php-ldap-5.5.16-1.el6.remi.x86_64
--> Processing Dependency: php-common(x86-64) = 5.5.16-1.el6.remi for package: php-cli-5.5.16-1.el6.remi.x86_64
--> Processing Dependency: php-common(x86-64) = 5.5.16-1.el6.remi for package: php-5.5.16-1.el6.remi.x86_64
--> Processing Dependency: php-common(x86-64) = 5.5.16-1.el6.remi for package: php-mbstring-5.5.16-1.el6.remi.x86_64
--> Processing Dependency: php-common(x86-64) = 5.5.16-1.el6.remi for package: php-soap-5.5.16-1.el6.remi.x86_64
--> Processing Dependency: php-common(x86-64) = 5.5.16-1.el6.remi for package: php-gmp-5.5.16-1.el6.remi.x86_64
--> Processing Dependency: php-common(x86-64) = 5.5.16-1.el6.remi for package: php-gd-5.5.16-1.el6.remi.x86_64
---> Package php-common.x86_64 0:5.5.16-1.el6.remi.1 will be an update
--> Running transaction check
---> Package php.x86_64 0:5.5.16-1.el6.remi will be updated
---> Package php.x86_64 0:5.5.16-1.el6.remi.1 will be an update
---> Package php-bcmath.x86_64 0:5.5.16-1.el6.remi will be updated
---> Package php-bcmath.x86_64 0:5.5.16-1.el6.remi.1 will be an update
---> Package php-cli.x86_64 0:5.5.16-1.el6.remi will be updated
---> Package php-cli.x86_64 0:5.5.16-1.el6.remi.1 will be an update
---> Package php-gd.x86_64 0:5.5.16-1.el6.remi will be updated
---> Package php-gd.x86_64 0:5.5.16-1.el6.remi.1 will be an update
--> Processing Dependency: libvpx.so.1()(64bit) for package: php-gd-5.5.16-1.el6.remi.1.x86_64
---> Package php-gmp.x86_64 0:5.5.16-1.el6.remi will be updated
---> Package php-gmp.x86_64 0:5.5.16-1.el6.remi.1 will be an update
---> Package php-ldap.x86_64 0:5.5.16-1.el6.remi will be updated
---> Package php-ldap.x86_64 0:5.5.16-1.el6.remi.1 will be an update
---> Package php-mbstring.x86_64 0:5.5.16-1.el6.remi will be updated
---> Package php-mbstring.x86_64 0:5.5.16-1.el6.remi.1 will be an update
---> Package php-mcrypt.x86_64 0:5.5.16-1.el6.remi will be updated
---> Package php-mcrypt.x86_64 0:5.5.16-1.el6.remi.1 will be an update
---> Package php-pdo.x86_64 0:5.5.16-1.el6.remi will be updated
--> Processing Dependency: php-pdo(x86-64) = 5.5.16-1.el6.remi for package: php-mysqlnd-5.5.16-1.el6.remi.x86_64
---> Package php-pdo.x86_64 0:5.5.16-1.el6.remi.1 will be an update
---> Package php-process.x86_64 0:5.5.16-1.el6.remi will be updated
---> Package php-process.x86_64 0:5.5.16-1.el6.remi.1 will be an update
---> Package php-recode.x86_64 0:5.5.16-1.el6.remi will be updated
---> Package php-recode.x86_64 0:5.5.16-1.el6.remi.1 will be an update
---> Package php-soap.x86_64 0:5.5.16-1.el6.remi will be updated
---> Package php-soap.x86_64 0:5.5.16-1.el6.remi.1 will be an update
---> Package php-tidy.x86_64 0:5.5.16-1.el6.remi will be updated
---> Package php-tidy.x86_64 0:5.5.16-1.el6.remi.1 will be an update
---> Package php-xml.x86_64 0:5.5.16-1.el6.remi will be updated
---> Package php-xml.x86_64 0:5.5.16-1.el6.remi.1 will be an update
--> Running transaction check
---> Package php-gd.x86_64 0:5.5.16-1.el6.remi.1 will be an update
--> Processing Dependency: libvpx.so.1()(64bit) for package: php-gd-5.5.16-1.el6.remi.1.x86_64
---> Package php-mysqlnd.x86_64 0:5.5.16-1.el6.remi will be updated
---> Package php-mysqlnd.x86_64 0:5.5.16-1.el6.remi.1 will be an update
--> Finished Dependency Resolution
Error: Package: php-gd-5.5.16-1.el6.remi.1.x86_64 (remi-php55)
           Requires: libvpx.so.1()(64bit)
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
[root@ ~]#

Re: PHP 5.5 on ClearOS: php-gd error requires libvpx.so.1

libvpx.so.1 is provided by libvpx 1.3.0 which is available in recent RHEL/CentOS updates.

Don't know when it will be available in ClearOS.

(previous build, 5.5.6-1 still available in the repo, without this dependency, but without WebP support)

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

Re: PHP 5.5 on ClearOS: php-gd error requires libvpx.so.1

As a workaround, I have rebuild and add libvpx-1.3.0 in my repo.

It will be used by clone distributions until they update it.

$ rpmdev-vercmp  0:1.3.0-5.el6_5 0:1.3.0-0.el6.remi
0:1.3.0-5.el6_5 > 0:1.3.0-0.el6.remi

And distro package will update my package when available.

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

Re: PHP 5.5 on ClearOS: php-gd error requires libvpx.so.1

Thank you Remi.

I confirm it now works as expected with:

yum install --enablerepo=remi,remi-php55 install php-opcache
service httpd restart

Best regards,

M ;-)

Re: PHP 5.5 on ClearOS: php-gd error requires libvpx.so.1

Thanks for the feedback.

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi