Experimental Physics and
| |||||||||||||||||
|
Hi Cyrille,
On Wed, Sep 27, 2017 at 4:50 AM, Cyrille Thomas <[email protected]> wrote:
Sorry for the trouble. I believe that this message comes from trying to explicitly load libCom prior to libca. I don't fully understand why doing this causes that set of error messages, but the simplest, quickest fix for you right now is to comment out ..../site-packages/epics/ca.py line 251 which reads load_dll(find_libCom()) For me, on a Mac OSX with a fresh install using `pip install`, I could both reproduce this problem and avoid it with that fix. I think it will work for you. Longer answer: Over the past couple years, we have been seeing more conflicts with pyepics vs. locally generated versions of libca, and libCom in particular. Most of these problems are seen with Anaconda Python, which uses its own version of readline that may conflict with the system default readline. Since, by default, libCom is build with readline support on Linux, it is easy to find Linux systems for which the system-generated libCom/libca pair cannot be loaded by Anaconda Python without some effort (like, changing Anaconda's readline). This is unfortunate because libca does not ever use readline, while an interactive program like 'python' might very well have a use for it. Because of this, pyepics now (as of 3.2.7) distributes versions of ca and Com libraries for Win32, Win64, OSX, and Linux64 that should work (built without readline, and relocatable). You can override these libraries, and you can choose to not install them (as you have done) with NOLIBCA=1 option to `pip install`. But also, we do test with exactly the distributed versions, so they should work and choosing to use your own versions of libca/libCom is much harder for us to support. But also, and in fairness: we have seen several problems in version 3.2.7 with the way these libraries are installed and then searched for, especially given the variations in how Python packages can be installed. So, we (mostly Daron Chabot) have made a lot of changes since version 3.2.7 that should fix these problems, including the one you see on OSX. These are available in the github master branch, and we're expecting to release 3.3.0 which will better fix these problems soon (within a week or so). Hope that helps, --Matt
| ||||||||||||||||
ANJ, 21 Dec 2017 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing · |