|
|
|
Re: xdebug + LD_LIBRARY_PATH [message #1737089 is a reply to message #1737082] |
Tue, 05 July 2016 15:19 |
Jeff Chimene Messages: 4 Registered: July 2016 |
Junior Member |
|
|
$ 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.
|
|
|
|
Re: xdebug + LD_LIBRARY_PATH [message #1737109 is a reply to message #1737093] |
Tue, 05 July 2016 18:40 |
Jeff Chimene Messages: 4 Registered: July 2016 |
Junior Member |
|
|
Please try Debian Testing. I believe you will get 32 bit compatibility automatically with this install.
I run a combination of Testing & Unstable, but don't do that.
It looks like the issue is caused by LD_LIBRARY_PATH not including the 64 bit libraries.
LD_LIBRARY_PATH is empty at the shell, but /usr/bin via PDT & debug.
When I set LD_LIBRARY_PATH in the debug environment, PDT prefixes /usr/bin, which perhaps exposes 32 bit libraries to PHP?
It might be interesting to try suffixing /usr/bin to LD_LIBRARY_PATH, or simply using Eclipse's Java classpath. That will search irrelevant paths, but it will correctly handle searching 64 bit path first, then 32 bit
[Updated on: Tue, 05 July 2016 18:55] Report message to a moderator
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04524 seconds