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 2023 2024 | 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 2023 2024 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: How to configurate MCA for Octave |
From: | Hulusi Öz <[email protected]> |
To: | Eric Norum <[email protected]>, [email protected] |
Date: | Sat, 23 Jul 2016 17:29:48 +0300 |
Ah yes, LInux.You need to have the path to the libraries in the LD_LIBRARY_PATH environment variable. Again, this is a colon-separated list, but it’s likely that it is currently empty so you need just add this to your shell startup script in addition to theexport LD_LIBRARY_PATH="$EPICS_BASE/lib/$EPICS_HOST_ARCH"As a further example, here’s the salient section of the startup script on a linux machine hereEPICS_ROOT=“/usr/local/epics/R3.14.12"EPICS_BASE="$EPICS_ROOT/base"EPICS_EXTENSIONS="$EPICS_ROOT/extensions"MY_EPICS_BASE="$EPICS_BASE" . "${EPICS_BASE}"/startup/Site.profilePATH="$EPICS_BASE/bin/$EPICS_HOST_ARCH:$PATH"export LD_LIBRARY_PATH="$EPICS_BASE/lib/$EPICS_HOST_ARCH"export EPICS_CA_MAX_ARRAY_BYTES=9000000On Jul 23, 2016, at 6:39 AM, Hulusi Öz <[email protected]> wrote:I understand sir, I did like that. But when I add these path in Octave :(/opt/epics/extensions/lib/linux-x86_64) iand (/opt/epics/extensions/src/mca/matlab) ..And in Octave when i type "help mcaopen" , it says the definition and usage of that command.However, according to the your example,when I use Octave to read PV from the ioc like this(pv=mcaopen('hulusiHost:ai1') , I've got this :%%%%%%%pv=mcaopen('hulusiHost:ai1')error: mcaopen: /opt/epics/extensions/lib/linux-x86_64/mca.mex: failed to load: libCom.so.3.14: cannot open shared object file: No such file or directoryerror: called from%%%%%%%In the search path of Octave these path are included.I can see them.Thanks in advance..Best Regards..Hulusi--
Eric Norum
[email protected]