<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p style="margin-top:0;margin-bottom:0">Nope, looks like a glibc issue. This can get sorted next week. </p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">/lib64/libc.so.6 -> libc-2.12.so</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">But python seems to want 2.14, if I read the error correctly. </p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">Wesley</p>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Slepicka, Hugo Henrique <slepicka@slac.stanford.edu><br>
<b>Sent:</b> Wednesday, November 21, 2018 1:19:44 PM<br>
<b>To:</b> Wesley Moore<br>
<b>Cc:</b> lerftest-ctrls@jlab.org<br>
<b>Subject:</b> Re: [Lerftest-ctrls] pyepics setup?</font>
<div> </div>
</div>
<div dir="auto">Hi Wesley,
<div><br>
</div>
<div>I am not in the office today but this should get you going:</div>
<div><br>
</div>
<div>
<div style="margin:0px"><font><font style="background-color:rgba(255,255,255,0)">export PYEPICS_LIBCA=$EPICS_BASE_TOP/$EPICS_BASE_VER/lib/$EPICS_HOST_ARCH/libca.so</font></font></div>
<div style="margin:0px"><font><font style="background-color:rgba(255,255,255,0)">export PYEPICS_LIBCOM=$EPICS_BASE_TOP/$EPICS_BASE_VER/lib/$EPICS_HOST_ARCH/libCom.so</font></font></div>
<div style="margin:0px"><font><font style="background-color:rgba(255,255,255,0)"><br>
</font></font></div>
<div style="margin:0px"><font><font style="background-color:rgba(255,255,255,0)">The two variables that point PYEPICS to the proper libca should be defined by SLAC’s configuration scripts.</font></font></div>
<div style="margin:0px"><font><font style="background-color:rgba(255,255,255,0)"><br>
</font></font></div>
<div style="margin:0px"><font><font style="background-color:rgba(255,255,255,0)">Please let me know if this works for you.</font></font></div>
<div style="margin:0px"><font><font style="background-color:rgba(255,255,255,0)"><br>
</font></font></div>
<div style="margin:0px"><font><font style="background-color:rgba(255,255,255,0)">Cheers,</font></font></div>
<div style="margin:0px"><font><font style="background-color:rgba(255,255,255,0)">Hugo</font></font></div>
<br>
<div id="x_AppleMailSignature" dir="ltr">Sent from my iPhone</div>
<div dir="ltr"><br>
On Nov 21, 2018, at 6:43 AM, Wesley Moore <<a href="mailto:wmoore@jlab.org">wmoore@jlab.org</a>> wrote:<br>
<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div id="x_divtagdefaultwrapper" dir="ltr" style="font-size:12pt; color:#000000; font-family:Calibri,Helvetica,sans-serif">
<p style="margin-top:0; margin-bottom:0">Is PyEPICS supposed to be configured? It doesn't seem to work, looking like it's missing lib links.</p>
<p style="margin-top:0; margin-bottom:0"></p>
<div><br>
</div>
<div>
<div>wmoore@lclsl01> python</div>
<div>Python 2.7.13 (default, Apr 27 2018, 17:48:07) </div>
<div>[GCC 4.4.7 20120313 (Red Hat 4.4.7-18)] on linux2</div>
<div>Type "help", "copyright", "credits" or "license" for more information.</div>
<div><span style="font-size:12pt">>>> import epics</span><br>
</div>
</div>
<div><span style="font-size:12pt">>>> epics.caget("RF:GLOBAL2:1:STATSUMYFP")</span><br>
</div>
<p></p>
<p style="margin-top:0; margin-bottom:0"></p>
<div>Traceback (most recent call last):</div>
<div> File "/usr/local/lcls/package/python/current/lib/python2.7/site-packages/epics/ca.py", line 251, in initialize_libca</div>
<div> load_dll(find_libCom())</div>
<div> File "/usr/local/lcls/package/python/current/lib/python2.7/ctypes/__init__.py", line 440, in LoadLibrary</div>
<div> return self._dlltype(name)</div>
<div> File "/usr/local/lcls/package/python/current/lib/python2.7/ctypes/__init__.py", line 362, in __init__</div>
<div> self._handle = _dlopen(self._name, mode)</div>
<div>OSError: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by /usr/local/lcls/package/python/current/lib/libCom.so)</div>
<div>Traceback (most recent call last):</div>
<div> File "<stdin>", line 1, in <module></div>
<div> File "/usr/local/lcls/package/python/current/lib/python2.7/site-packages/epics/__init__.py", line 82, in caget</div>
<div> thispv = get_pv(pvname, timeout=timeout, connect=True)</div>
<div> File "/usr/local/lcls/package/python/current/lib/python2.7/site-packages/epics/pv.py", line 39, in get_pv</div>
<div> context = ca.current_context()</div>
<div> File "/usr/local/lcls/package/python/current/lib/python2.7/site-packages/epics/ca.py", line 406, in wrapper</div>
<div> initialize_libca()</div>
<div> File "/usr/local/lcls/package/python/current/lib/python2.7/site-packages/epics/ca.py", line 254, in initialize_libca</div>
<div> raise ChannelAccessException('loading Epics CA DLL failed: ' + str(exc))</div>
<div>epics.ca.ChannelAccessException: loading Epics CA DLL failed: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by /usr/local/lcls/package/python/current/lib/libCom.so)</div>
<div><br>
</div>
<br>
<p></p>
</div>
</div>
</blockquote>
<blockquote type="cite">
<div dir="ltr"><span>_______________________________________________</span><br>
<span>Mailing List: <a href="mailto:Lerftest-ctrls@jlab.org">Lerftest-ctrls@jlab.org</a></span><br>
<span><a href="https://mailman.jlab.org/mailman/listinfo/lerftest-ctrls">https://mailman.jlab.org/mailman/listinfo/lerftest-ctrls</a></span><br>
<span>Wiki: <a href="https://wiki.jlab.org/lerf/index.php/Network">https://wiki.jlab.org/lerf/index.php/Network</a></span><br>
</div>
</blockquote>
</div>
</div>
</body>
</html>