pylsl icon indicating copy to clipboard operation
pylsl copied to clipboard

util.find_library and CDLL do not use the same path --> library found but not loaded

Open cboulay opened this issue 2 years ago • 1 comments

I recently got bit by this bug.

I think maybe all we can do is update the error message for Linux users to include "export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib"

cboulay avatar Nov 04 '21 03:11 cboulay

Bumped into this. Noting that PYLSL_LIB can also be set in environment to specify library path. The change to LD_LIBRARY_PATH looks like something that would be resolved by running ldconfig after a manual install of lsl.

[EDIT: I posted I patched the code to work around this, but it turns out I did not actually need to do that. I was simply using an old version of pylsl. Updating to the latest was what resolved the issue for me.]

xloem avatar Mar 04 '22 09:03 xloem