Skip to content

加载不上这个扩展,make test 错误 #48

Description

@LuMitchell

PHP : /usr/local/php74/bin/php
Warning: PHP Startup: Unable to load dynamic library 'opencc.so' (tried: /root/downloads/opencc4php/modules/opencc.so (libopencc.so.2: cannot open shared object file: No such file or directory), /root/downloads/opencc4php/modules/opencc.so.so (/root/downloads/opencc4php/modules/opencc.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0

PHP_SAPI : cli
PHP_VERSION : 7.4.1
ZEND_VERSION: 3.4.0
PHP_OS : Linux - Linux mit2 3.10.0-957.21.3.el7.x86_64 #1 SMP Tue Jun 18 16:35:19 UTC 2019 x86_64
INI actual : /root/downloads/opencc4php/tmp-php.ini
More .INIs :

PHP : /usr/local/php74/bin/phpdbg
PHP_SAPI : PHP Warning: PHP Startup: Unable to load dynamic library 'opencc.so' (tried: /root/downloads/opencc4php/modules/opencc.so (libopencc.so.2: cannot open shared object file: No such file or directory), /root/downloads/opencc4php/modules/opencc.so.so (/root/downloads/opencc4php/modules/opencc.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0

...


CWD : /root/downloads/opencc4php
Extra dirs :
VALGRIND : Not used

TIME START 2020-03-02 12:38:37

FAIL Check for opencc presence [tests/001.phpt]
FAIL Test opencc4php [tests/002.phpt]

TIME END 2020-03-02 12:38:37

=====================================================================
TEST RESULT SUMMARY

Exts skipped : 0
Exts tested : 50

Number of tests : 2 2
Tests skipped : 0 ( 0.0%) --------
Tests warned : 0 ( 0.0%) ( 0.0%)
Tests failed : 2 (100.0%) (100.0%)
Tests passed : 0 ( 0.0%) ( 0.0%)

Time taken : 0 seconds

=====================================================================
FAILED TEST SUMMARY

Check for opencc presence [tests/001.phpt]
Test opencc4php [tests/002.phpt]

You may have found a problem in PHP.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions