Bug #78951 [Fbk]: Unable to load library
| From: | nikic@php.net | Date: | Thu, 12 Dec 2019 12:14:35 +0000 |
| Subject: | Bug #78951 [Fbk]: Unable to load library | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-224235@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=78951&edit=1
ID: 78951
Updated by: nikic@php.net
Reported by: rybachok91 at mail dot ru
Summary: Unable to load library
Status: Feedback
Type: Bug
Package: Compile Warning
Operating System: Arch Linux
PHP Version: 7.4.0
Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
You need to rebuild the extension for PHP 7.4. Possibly the simplest way to do that is to just
uninstall it and reinstall?
Normally extensions for different PHP API versions are installed in separate directories to avoid
this kind of issue. However, it seems that your distro installs everything in one location.
Previous Comments:
------------------------------------------------------------------------
[2019-12-12 12:13:27] nikic@php.net
Related To: Bug #78948
------------------------------------------------------------------------
[2019-12-12 12:09:53] rybachok91 at mail dot ru
From this https://pecl.php.net/package/oci8
Installed version php-oci8 2.2.0-1
------------------------------------------------------------------------
[2019-12-12 12:06:12] fgfgfgfg at somewhere dot com
you extensions below /usr/lib/php/modules/ are simply built not for PHP 7.4.0 and especially for
pecl-extensions (https://bugs.php.net/bug.php?id=78948) you are responsible at your own to ret them
rebuilt
not a bug in PHP
------------------------------------------------------------------------
[2019-12-12 11:44:23] cmb@php.net
From where did you get oci8.so?
------------------------------------------------------------------------
[2019-12-12 10:37:16] rybachok91 at mail dot ru
Description:
------------
Hello! After update php to version 7.4.0-2 a got an error
PHP Warning: PHP Startup: Unable to load dynamic library 'oci8.so' (tried:
/usr/lib/php/modules/oci8.so (/usr/lib/php/modules/oci8.so: undefined symbol: add_index_zval)
Test script:
---------------
I just run command "php -v" in terminal
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=78951&edit=1