EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: cap5 Perl library
From: Andrew Johnson <[email protected]>
To: [email protected]
Cc: GOURNAY Jean-Francois <[email protected]>
Date: Wed, 18 Feb 2009 14:26:29 -0600
Hi J-F,

On Wednesday 18 February 2009 06:52:06 GOURNAY Jean-Francois wrote:
> perl mytest.pl
>
> Can't locate loadable object for module Cap5 in @INC (@INC contains:
> /home/spiral2mgr/APPLICATIONS/PERL/cap5-0.1/lib/perl
> ...

Does the /home/spiral2mgr/APPLICATIONS/PERL/cap5-0.1/lib/<host-arch> directory 
contain the file libCap5.so?  The thing it can't find (or load, see below) is 
the shared library (the "loadable object") containing the compiled part of 
the interface.

> By the way, I installed this package some time ago, and I am now unable
> to find it on the Epics server (except the documentation) ???

Confusingly the tarfile is not in the extensions area but in the modules 
download area instead:
	http://www.aps.anl.gov/epics/download/modules/index.php
The latest release available there is version 0.3, with a newer version 
included in Base R3.14.10.

> Maybe I have to reinstall it as I changed the name of the APPLICATIONS
> directory (I saw a hard-wired directory path in CA.pm and maybe I missed
> some).

I think the problem is the shared-library dependencies that it can't find, 
i.e. libCa.so and libCom.so.  If you moved Base at the same time you will 
have to recompile ("make rebuild") the cap5 module because it burns the path 
to the base/lib/<host-arch> directory into the libCap5.so file.

HTH,

- Andrew
-- 
The best FOSS code is written to be read by other humans -- Harold Welte

References:
cap5 Perl library GOURNAY Jean-Francois

Navigate by Date:
Prev: cap5 Perl library GOURNAY Jean-Francois
Next: RE: compile error with medm 3.1.3 on fedora 10 Dropp, Christopher
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: cap5 Perl library GOURNAY Jean-Francois
Next: Diamond software releases Cobb, TM (Tom)
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 31 Jan 2014 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·