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: Torsten Bögershausen 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 14:13:49 +0200
Hej Erwann,
I am not sure, if I understand you question.
Are you running under arm ?
And only find a lib for x86_64 (or so)

If yes:
You can compile EPICS base under arm, and the point out PYEPICS_LIBCA similar to this:
export PYEPICS_LIBCA=$EPICS_BASE/lib/$EPICS_HOST_ARCH/libca.dylib
(Obs: This is for Mac, under Linux it is probably xxx/yyy/libca.so )

HTH
/Torsten


> On 27 Mar 2023, at 13:57, 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: Error pyepics with odroid / libca.so cannot open shared object file. LE-DANIEL Erwann via Tech-talk
Next: Re: Error pyepics with odroid / libca.so cannot open shared object file. Matt Newville 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: Error pyepics with odroid / libca.so cannot open shared object file. LE-DANIEL Erwann via Tech-talk
Next: Re: Error pyepics with odroid / libca.so cannot open shared object file. Matt Newville 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 ·