View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0001730 | Xdebug | Installation | public | 2019-12-10 11:04 | 2020-01-27 20:34 |
| Reporter | Dani | Assigned To | |||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | resolved | Resolution | no change required | ||
| OS | Ubuntu | ||||
| Product Version | 2.9.0 | ||||
| Summary | 0001730: So many undeined symbols in xdebug.so | ||||
| Description | After pulling the latest xdebug source from GitHub and compiling, the generated xdebug.so has so many undefined symbols in it (complete output is attached separately): nm -u xdebug.so | grep U If we add -Wl,--no-undefined to CFLAGS, xdebug.so is not generated and several errors are issued. These undefined symbols are defined in PHP source code (various modules), but are undefined in xdebug.so Failed loading /usr/local/lib/php/extensions/no-debug-non-zts-20180731/xdebug.so: /usr/local/lib/php/extensions/no-debug-non-zts-20180731/xdebug.so: undefined symbol: OnUpdateBool Trying to add different .lo files from PHP directory to shared_objects_xdebug of xdebug's Makefile, does not solve the problem, as there are new undefined symbols or it leads to multiple definition error. The issue does not seem to be related to PHP version, etc. | ||||
| Tags | No tags attached. | ||||
| Operating System | |||||
| PHP Version | 7.3.10-7.3.14 | ||||
|
|
Did you re-run phpize and configure? Lots of file locations have changed. I would recommend you reclone the git repository. |
|
|
Ping? |
|
|
I had done some changes to my php source directory; after switching to a clean installation of php, xdebug.so loaded as charm. |
|
|
Thanks for letting me know! I'll be closing the report then. |