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  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  <20232024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  <20232024 
<== Date ==> <== Thread ==>

Subject: Re: Error pyepics with odroid / libca.so cannot open shared object file.
From: Matt Newville via Tech-talk <tech-talk at aps.anl.gov>
To: LE-DANIEL Erwann <erwann.le-daniel at alstomgroup.com>
Cc: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Mon, 27 Mar 2023 07:22:51 -0500
Hi Erwann, 

I answered this on GitHub too, but I think you probably need libca.so and libCom.so for aarch64 - these are dynamic libraries for Linux on x86_64 and Linux on arm, but not aarch64.  You may have to build those or find them in some auto-build system.   Once you find those two files, you can put them anywhere on your system (in the same folder) an environmental variable PYEPICS_LIBCA is the full path to that libca.so.

If you know where to find pre-built libraries for this, we could consider adding those to the pyepics distribution.


On Mon, Mar 27, 2023 at 6:57 AM LE-DANIEL Erwann via Tech-talk <tech-talk at aps.anl.gov> wrote:

Hello,

 

I tried hard to understand why pyepics doesn’t work on my odroid C4.

I installed python version 3.8 and last pyepics version3.5.1

 

Unfortunately, when I start python and after writing :

 

import epics

pv=epics.PV('VARIABLE')

 

The return was :

 

/home/odroid/.local/lib/python3.8/site-packages/epics/clibs/linux64/libca.so: cannot open shared object file: No such file or directory

 

But in reality, the file is in the linux64 folder : /home/odroid/.local/lib/python3.8/site-packages/epics/clibs/linux64/

 

I read in the page Downloading and Installation — Epics Channel Access for Python (uchicago.edu) that “ If these provided versions of libca do not work for you, please let us know. “ ..

Where can I find other libca versions ?

 

Many thanks.

 

My environment : Ubuntu mate 20.0, python 3.8 , pyepics 3.5.1, cpu archi aarch64, hardware : odroid C4.

 

Erwann.



CONFIDENTIALITY : This e-mail and any attachments are confidential and may be privileged. If you are not a named recipient, please notify the sender immediately and do not disclose the contents to another person, use it for any purpose or store or copy the information in any medium.


References:
Error pyepics with odroid / libca.so cannot open shared object file. LE-DANIEL Erwann via Tech-talk

Navigate by Date:
Prev: Re: Error pyepics with odroid / libca.so cannot open shared object file. Torsten Bögershausen via Tech-talk
Next: Re: areadetector on windows, xml2 done, now Lightfield Mark Rivers via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  <20232024 
Navigate by Thread:
Prev: Re: Error pyepics with odroid / libca.so cannot open shared object file. Torsten Bögershausen via Tech-talk
Next: Re: areadetector on windows, xml2 done, now Lightfield Mark Rivers via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  <20232024 
ANJ, 27 Mar 2023 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·