Skip to content

undefined symbol: lsl_library_info  #122

Description

@JayroMartinez

When I execute the command python user.py -p /dev/ttyUSB0 I get the following error:

Traceback (most recent call last): File "user.py", line 66, in <module> import openbci.cyton as bci File "/home/pi/OpenBCI_Python/openbci/__init__.py", line 2, in <module> from .plugins import * File "/home/pi/OpenBCI_Python/openbci/plugins/__init__.py", line 3, in <module> from .streamer_lsl import * File "/home/pi/OpenBCI_Python/openbci/plugins/streamer_lsl.py", line 6, in <module> from pylsl import StreamInfo, StreamOutlet File "/home/pi/.local/lib/python2.7/site-packages/pylsl/__init__.py", line 2, in <module> from .pylsl import IRREGULAR_RATE, DEDUCED_TIMESTAMP, FOREVER, cf_float32,\ File "/home/pi/.local/lib/python2.7/site-packages/pylsl/pylsl.py", line 1206, in <module> lib.lsl_library_info.restype = c_char_p File "/usr/lib/python2.7/ctypes/__init__.py", line 375, in __getattr__ func = self.__getitem__(name) File "/usr/lib/python2.7/ctypes/__init__.py", line 380, in __getitem__ func = self._FuncPtr((name_or_ordinal, self)) AttributeError: /home/pi/.local/lib/python2.7/site-packages/pylsl/liblsl32.so: undefined symbol: lsl_library_info

I'm running the code over Raspberry Pi 3B+ & Raspbian GNU/Linux 9 (stretch). I've tried to replace the liblsl32.so file with the file compiled for ARM processor. I've also tried to compile the code on my own like in sccn/lsl_archived#336

Any idea??

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions