|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #78951 Unable to load library
Submitted: 2019-12-12 10:37 UTC Modified: 2019-12-12 13:29 UTC
From: rybachok91 at mail dot ru Assigned: cmb (profile)
Status: Not a bug Package: Compile Warning
PHP Version: 7.4.0 OS: Arch Linux
Private report: No CVE-ID: None
 [2019-12-12 10:37 UTC] rybachok91 at mail dot ru
Hello! After update php to version 7.4.0-2 a got an error
PHP Warning:  PHP Startup: Unable to load dynamic library '' (tried: /usr/lib/php/modules/ (/usr/lib/php/modules/ undefined symbol: add_index_zval)

Test script:
I just run command "php -v" in terminal


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2019-12-12 11:44 UTC]
-Status: Open +Status: Feedback -Assigned To: +Assigned To: cmb
 [2019-12-12 11:44 UTC]
From where did you get
 [2019-12-12 12:06 UTC] 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 ( you are responsible at your own to ret them rebuilt

not a bug in PHP
 [2019-12-12 12:09 UTC] rybachok91 at mail dot ru
From this
Installed version php-oci8  2.2.0-1
 [2019-12-12 12:14 UTC]
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.
 [2019-12-12 12:30 UTC] rybachok91 at mail dot ru
Reinstalling is not help. I had the same error.
 [2019-12-12 12:59 UTC] rybachok91 at mail dot ru
I've reinstalled in second time. And it's work. Sorry, but I don't understand, why it's happened. Thank you!
 [2019-12-12 13:29 UTC]
-Status: Feedback +Status: Not a bug
 [2019-12-12 13:29 UTC]
Great that this issue has been resolved!  As it's not a bug in
PHP, closing as such.
 [2019-12-12 13:33 UTC] retertertert at fgfgfg dot com
the error message could be serious improved and mention the ABI incompatibility and that the extension needs to be rebuilt, the current one is only understood by people knowing a lot of php internals
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Jul 23 21:01:28 2024 UTC