Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
cboulay opened this issue Nov 4, 2021 · 1 comment

Comments

@cboulay
Copy link
Contributor

cboulay commented Nov 4, 2021

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"

@xloem
Copy link
Contributor

xloem commented Mar 4, 2022

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.]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants