Topic: php-ldap on centos7

In centos7 libsasl2.so.2 replased to libsasl2.so.3, but php-ldap-7.0.8-1.el6.remi.x86_64 requieres libsasl2.so.2.

#yum install php-ldap
Resolving Dependencies
--> Running transaction check
---> Package php-ldap.x86_64 0:7.0.8-1.el6.remi will be installed
--> Processing Dependency: libsasl2.so.2()(64bit) for package: php-ldap-7.0.8-1.el6.remi.x86_64
--> Finished Dependency Resolution
Error: Package: php-ldap-7.0.8-1.el6.remi.x86_64 (remi-php70)
           Requires: libsasl2.so.2()(64bit)

Symlink do not help me.

Re: php-ldap on centos7

Why do you try to install EL6 version on EL7 ?

$ rpm -qp --requires php-ldap-7.0.8-1.el7.remi.x86_64.rpm
libsasl2.so.3()(64bit)

$ rpm -qp --requires php-ldap-7.0.8-1.el6.remi.x86_64.rpm
libsasl2.so.2()(64bit)

You probably need to remove remi-release and install the correct version which point to the correct repositories

See http://rpms.remirepo.net/wizard/

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-ldap on centos7

Thank`s!
Repo-files was for centos6.
It`s solved.
But now new problem.

After update (as instruction):
#yum update
Error: Package: gd-last-2.2.2-1.el7.remi.x86_64 (remi)
           Requires: libwebp.so.4()(64bit)
           Available: libwebp-0.3.0-3.el7.x86_64 (base)
               libwebp.so.4()(64bit)
           Installed: libwebp-0.4.3-3.el6.x86_64 (@epel)
              ~libwebp.so.5()(64bit)
#ls  /lib64/libwebp.*
/lib64/libwebp.so.5
/lib64/libwebp.so.5.0.3

symlink do not help.
#ln -s /lib64/libwebp.so.5.0.3 /lib64/libwebp.so.4

Re: php-ldap on centos7

> symlink do not help.

Symlinks never help.

> Installed: libwebp-0.4.3-3.el6.x86_64 (@epel)

Again a EL-6 package (probably bad epel-release version)

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