xdebug + LD_LIBRARY_PATH [message #1736795] |
Fri, 01 July 2016 15:22  |
Eclipse User |
|
|
|
Hi,
LD_LIBRARY_PATH as defined by PDT for XDEBUG doesn't work on my system:
phpinfo() yields the following for Environment
Variable => Value
XDEBUG_CONFIG => remote_enable=1 idekey=ECLIPSE_DBGP
DBGP_IDEKEY => ECLIPSE_DBGP
LD_LIBRARY_PATH => /usr/lib
DBGP_COOKIE => 146739879635417
That won't work. I get the following error as PHP loads in the PDT + XDEBUG environment
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20131226/curl.so' - /lib/x86_64-linux-gnu/libgcrypt.so.20: symbol gpgrt_lock_lock, version GPG_ERROR_1.0 not defined in file libgpg-error.so.0 with link time reference in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20131226/imagick.so' - /usr/lib/libgomp.so.1: version `GOMP_4.0' not found (required by /usr/lib/x86_64-linux-gnu/libMagickWand-6.Q16.so.2) in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20131226/readline.so' - /usr/lib/php5/20131226/readline.so: undefined symbol: rl_on_new_line in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20131226/xsl.so' - /lib/x86_64-linux-gnu/libgcrypt.so.20: symbol gpgrt_lock_lock, version GPG_ERROR_1.0 not defined in file libgpg-error.so.0 with link time reference in Unknown on line 0
/
php --info | grep -i ld_library at the shell doesn't throw the warnings, and yields no matches.
I tried defining LD_LIBRARY_PATH using just the value "/lib/x86_64-linux-gnu" in the debug environment panel, enabling the "replace" option
PDT seems to ignore that setting.
tia,
|
|
|
|
|
Re: xdebug + LD_LIBRARY_PATH [message #1737089 is a reply to message #1737082] |
Tue, 05 July 2016 11:19   |
Eclipse User |
|
|
|
$ uname -a
Linux Epiktistes 4.5.0-2-amd64 #1 SMP Debian 4.5.5-1 (2016-05-29) x86_64 GNU/Linux
$ php -v
PHP 5.6.22-2 (cli)
Copyright (c) 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
with XCache v3.2.0, Copyright (c) 2005-2014, by mOo
with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies
with Xdebug v2.4.0, Copyright (c) 2002-2016, by Derick Rethans
with XCache Optimizer v3.2.0, Copyright (c) 2005-2014, by mOo
with XCache Cacher v3.2.0, Copyright (c) 2005-2014, by mOo
with XCache Coverager v3.2.0, Copyright (c) 2005-2014, by mOo
Eclipse installed into /opt via the Eclipse repo
PHP installed via Debian unstable/testing repo
I've used this configuration for > 10 yrs.
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.07528 seconds