[TriLUG] Komodo Remote Debug Config issue - not finding .so module

Craig Duncan craigduncan at nc.rr.com
Wed Jan 2 18:40:53 EST 2002


Trying to get Komodo remote debugging working with PHP. The error that I am 
getting is pretty clear, it cannot find the shared object files ...

++++++++++++++++++++++++++
[root at hub extensions]# php -m
Content-type: text/html

PHP Warning:  Unable to load dynamic library 
'/usr/lib/php/extensions/activedebug.so' - libxmlrpc_xmltok.so.3: cannot open 
shared object file: No such file or directory in Unknown on line 0
Running PHP 4.0.6
Zend Engine v1.0.6, Copyright (c) 1998-2001 Zend Technologies
++++++++++++++++++++++++++

The instructions state that I need to set LD_LIBRARY_PATH to include the 
directory that the shared object files are located in before I start Apache. 
This is fine if I am statring it from the command line and it can read my env 
variables, but Apache starts on boot up.  
So, following one of the Troubleshooting guides, I added the path to my 
shared object files to /etc/ld.so.conf which now looks like this:

++++++++++++++++++++++++++
[root at hub extensions]# cat /etc/ld.so.conf
/usr/X11R6/lib
/usr/lib/wine
/usr/lib/php/extensions
++++++++++++++++++++++++++

Then restarted my server. The directory /usr/lib/php/extensions contains all 
of the shared object files.

So, my question is whether this is valid or not? Is there another way to get 
my system to recognize the required so files?



More information about the TriLUG mailing list