Topic: Error: Package: php70-php-pecl-xmldiff-1.1.2-6.el7.remi.x86_64

Attempt to install

php70-php-pecl-xmldiff

is giving:

yum install php70-php-pecl-xmldiff
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.sesp.northwestern.edu
 * extras: mirror.es.its.nyu.edu
 * remi-safe: mirrors.mediatemple.net
 * updates: denver.gaminghost.co
Resolving Dependencies
--> Running transaction check
---> Package php70-php-pecl-xmldiff.x86_64 0:1.1.2-6.el7.remi will be installed
--> Processing Dependency: libdiffmark.so.1()(64bit) for package: php70-php-pecl-xmldiff-1.1.2-6.el7.remi.x86_64
--> Finished Dependency Resolution
Error: Package: php70-php-pecl-xmldiff-1.1.2-6.el7.remi.x86_64 (remi-safe)
           Requires: libdiffmark.so.1()(64bit)
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

but I succeeded to install it with

pecl install xmldiff

Will the result be the same? What is the recommended way and how can I install it using the "yum" way?

Re: Error: Package: php70-php-pecl-xmldiff-1.1.2-6.el7.remi.x86_64

"diffmark" package is available in EPEL.

"pecl" command works because it uses the bundle copy.
Building extension from source is never recommended, especially on a production env.

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: Error: Package: php70-php-pecl-xmldiff-1.1.2-6.el7.remi.x86_64

after installing diffmark from epel worked like a charm. thanks!

Re: Error: Package: php70-php-pecl-xmldiff-1.1.2-6.el7.remi.x86_64

smile

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