Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017 
<== Date ==> <== Thread ==>

Subject: Re: php epics module
From: Andrew Johnson <anj@aps.anl.gov>
To: Christophe Moins <christophe.moins@ego-gw.it>
Cc: tech-talk@aps.anl.gov
Date: Fri, 05 May 2006 11:21:01 -0500
Christophe Moins wrote:

I'd like to use the php epics module but I meet some difficulties. When I am trying to launch the test_ca_get_put.php example :

<snip>


from a web browser, I have the following display :

*"Warning*: dl(): Unable to load dynamic library '/usr/local/lib/php/extensions/php_epics.so' - libCom.so: cannot open shared object file: No such file or directory in */var/www/html/ImmsData/test_ca_get_put.php* on line *3"

*although the path to php_epics.so is correct.*
*Does anybody know what's going on ?

Well the error message you're getting says "I can't load the php_epics.so library because it in turn needs to load libCom.so which I can't find."


Run 'ldd /usr/local/lib/php/extensions/php_epics.so' to find out where it's trying to get libCom.so from - it's part of EPICS Base so should be installed in your base/lib/<host-arch> directory, but if you didn't compile that php_epics.so file on the web server machine then it might not be present. In this case you should be able to fix it by copying libCom.so to the /usr/local/lib/php/extensions directory (you may also need libca.so in there as well).

- Andrew
--
There is no S in exprexxo.

References:
php epics module Christophe Moins

Navigate by Date:
Prev: Re: EDM Command Options Question John Dobbins
Next: MIPS epicsEventWaitWithTimeout(() Matt Rippa
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017 
Navigate by Thread:
Prev: php epics module Christophe Moins
Next: Re: EDM Command Options Question John Dobbins
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·