Topic: unable to install php-mbstring-7.4 getting dependency of libonig.so.

Hello Team

In my centos7 environment I am installing FileRun and for that I will reuired php and its extension but I am unable to install php-mbstring.x86_64 0:7.4.10-1.el7.remi gettin dependency as libonig.so.105()(64bit).

I checked in remi discussion forum as well and tried installing oniguruma5 as replacement but no luck.

below are my repository details and error lines, please  help me out here:

[root@1 ~]# yum install php-mbstring
Loaded plugins: fastestmirror, product-id, search-disabled-repos, subscription-manager

This system is not registered with an entitlement server. You can use subscription-manager to register.

Loading mirror speeds from cached hostfile
Could not retrieve mirrorlist http://cdn.remirepo.net/enterprise/7/php74/mirror error was
14: curl#7 - "Failed to connect to 2001:41d0:8:18c2::1: Network is unreachable"
* base: centos-hcm.viettelidc.com.vn
* epel: epel.mirror.far.fi
* extras: centos.mirrors.estointernet.in
* updates: centos.mirrors.estointernet.in
Resolving Dependencies
--> Running transaction check
---> Package php-mbstring.x86_64 0:7.4.10-1.el7.remi will be installed
--> Processing Dependency: libonig.so.105()(64bit) for package: php-mbstring-7.4.10-1.el7.remi.x86_64
--> Finished Dependency Resolution
Error: Package: php-mbstring-7.4.10-1.el7.remi.x86_64 (remi-php74)
           Requires: libonig.so.105()(64bit)
You could try using --skip-broken to work around the problem
** Found 2 pre-existing rpmdb problem(s), 'yum check' output follows:
perl-DBD-MySQL-4.023-6.el7.x86_64 has missing requires of libmysqlclient.so.18()(64bit)
perl-DBD-MySQL-4.023-6.el7.x86_64 has missing requires of libmysqlclient.so.18(libmysqlclient_18)(64bit)


[root@1 ~]# php -version
Cannot load the ionCube PHP Loader - it was already loaded
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/php_mbstring.so' (tried: /usr/lib64/php/modules/php_mbstring.so (/usr/lib64/php/modules/php_mbstring.so: cannot open shared object file: No such file or directory), /usr/lib64/php/modules//usr/lib64/php/modules/php_mbstring.so.so (/usr/lib64/php/modules//usr/lib64/php/modules/php_mbstring.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
PHP 7.4.10 (cli) (built: Sep  1 2020 13:58:08) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
    with the ionCube PHP Loader + ionCube24 v10.4.3, Copyright (c) 2002-2020, by ionCube Ltd.
    with Zend OPcache v7.4.10, Copyright (c), by Zend Technologies
[root@-1 ~]#

[root@-1 yum.repos.d]# yum clean all
Loaded plugins: fastestmirror, product-id, search-disabled-repos, subscription-manager

This system is not registered with an entitlement server. You can use subscription-manager to register.

Cleaning repos: base epel extras remi-php74 updates
Cleaning up list of fastest mirrors
Other repos take up 3.8 M of disk space (use --verbose for details)
[root@-1 yum.repos.d]#

awaiting for your response.

Regards
Pranita

Re: unable to install php-mbstring-7.4 getting dependency of libonig.so.

"remi-safe" repository is missing, and is mandatory for dep. (oniguruma5php)

See the Wizard instruction (top link on all pages)

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: unable to install php-mbstring-7.4 getting dependency of libonig.so.

Cannot load the ionCube PHP Loader - it was already loaded
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/php_mbstring.so' (tried: /usr/lib64/php/modules/php_mbstring.so (/usr/lib64/php/modules/php_mbstring.so: cannot open shared object file: No such file or directory), /usr/lib64/php/modules//usr/lib64/php/modules/php_mbstring.so.so (/usr/lib64/php/modules//usr/lib64/php/modules/php_mbstring.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0

And you need to clean you php.ini of bad "extension" directives

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