Warning: PHP Startup: Unable to load dynamic library 'ui.so'
- Dominant language
- C
- Stars
- 516
- Forks
- 39
- PR merge metrics
- No merged PRs in 30d
Description
**Hello Mr!
I run 'make test' command, but PHP can`t load ui.so. what should I do ?**
root@qing-PC:/usr/local/src/php_ui/ui# make test
Build complete.
Don't forget to run 'make test'.
=====================================================================
PHP : /opt/lampp/bin/php
Warning: PHP Startup: Unable to load dynamic library 'ui.so' (tried: /usr/local/src/php_ui/ui/modules/ui.so (/lib/x86_64-linux-gnu/libcairo.so.2: undefined symbol: FT_Get_Var_Design_Coordinates), /usr/local/src/php_ui/ui/modules/ui.so.so (/usr/local/src/php_ui/ui/modules/ui.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
PHP_SAPI : cli
PHP_VERSION : 7.2.19
ZEND_VERSION: 3.2.0
PHP_OS : Linux - Linux qing-PC 5.3.0-3-amd64 #1 SMP deepin 5.3.15-6apricot (2020-04-13) x86_64
INI actual : /usr/local/src/php_ui/ui/tmp-php.ini
More .INIs :
PHP : /opt/lampp/bin/phpdbg
PHP_SAPI : PHP Warning: PHP Startup: Unable to load dynamic library 'ui.so' (tried: /usr/local/src/php_ui/ui/modules/ui.so (/lib/x86_64-linux-gnu/libcairo.so.2: undefined symbol: FT_Get_Var_Design_Coordinates), /usr/local/src/php_ui/ui/modules/ui.so.so (/usr/local/src/php_ui/ui/modules/ui.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
Warning: PHP Startup: Unable to load dynamic library 'ui.so' (tried: /usr/local/src/php_ui/ui/modules/ui.so (/lib/x86_64-linux-gnu/libcairo.so.2: undefined symbol: FT_Get_Var_Design_Coordinates), /usr/local/src/php_ui/ui/modules/ui.so.so (/usr/local/src/php_ui/ui/modules/ui.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
phpdbg
PHP_VERSION : 7.2.19
ZEND_VERSION: 3.2.0
PHP_OS : Linux - Linux qing-PC 5.3.0-3-amd64 #1 SMP deepin 5.3.15-6apricot (2020-04-13) x86_64
INI actual : /usr/local/src/php_ui/ui/tmp-php.ini
More .INIs :
CWD : /usr/local/src/php_ui/ui
Extra dirs :
VALGRIND : Not used
TIME START 2020-08-16 03:28:02
No tests were run.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing `make test` with `/opt/lampp/bin/php` and inspect the reported failure while loading `ui.so`. Trace the `libcairo.so.2` and FreeType dependency versions involved in the undefined symbol error. Done means the extension loads without the startup warning and the test command runs its tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c, php
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100