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

AttributeError: /lib/libportaudio.so: undefined symbol: Pa_GetVersionText #56

Open
sp00ck opened this issue Sep 27, 2022 · 1 comment
Open
Assignees

Comments

@sp00ck
Copy link

sp00ck commented Sep 27, 2022

last ubuntu on raspbery pi (all version)
5.15.61+ #1579 Fri Aug 26 11:08:59 BST 2022 armv6l GNU/Linux

$echo "p" | amodem send
Audio OFDM MODEM v1.15.3: 48.0 kb/s (64-QAM x 8 carriers) Fs=32.0 kHz
Traceback (most recent call last):
  File "/home/userek/.local/bin/amodem", line 8, in <module>
    sys.exit(_main())
  File "/home/userek/.local/lib/python3.9/site-packages/amodem/__main__.py", line 248, in _main
    interface.load(args.audio_library)
  File "/home/userek/.local/lib/python3.9/site-packages/amodem/audio.py", line 20, in load
    version = self.call('GetVersionText', restype=ctypes.c_char_p)
  File "/home/userek/.local/lib/python3.9/site-packages/amodem/audio.py", line 32, in call
    func = getattr(self.lib, func_name)
  File "/usr/lib/python3.9/ctypes/__init__.py", line 387, in __getattr__
    func = self.__getitem__(name)
  File "/usr/lib/python3.9/ctypes/__init__.py", line 392, in __getitem__
    func = self._FuncPtr((name_or_ordinal, self))
AttributeError: /lib/libportaudio.so: undefined symbol: Pa_GetVersionText

$ python --version
Python 3.9.2

@romanz romanz self-assigned this Sep 28, 2022
@ke4ahr
Copy link

ke4ahr commented Jul 31, 2024

Can you reproduce this by using an input file like the example shows? It's possible that the program doesn't handle data below a certain size. You may be able to fix this by zero-padding the input data.

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

3 participants