#8959 Audio.cpp(Local): proc.returncode=127,stderr='/home/odelator/pyvideotrans-main/audio_cpp/audiocpp_cli: symbol lookup err

2804**65ee Posted at: 13 hours ago

Audio.cpp(Local): proc.returncode=127,stderr='/home/odelator/pyvideotrans-main/audio_cpp/audiocpp_cli: symbol lookup error: /home/odelator/pyvideotrans-main/audio_cpp/audiocpp_cli: undefined symbol: log10f, version GLIBC_2.27\n'
stdout=''
cmd=['/home/odelator/pyvideotrans-main/audio_cpp/audiocpp_cli', '--task', 'tts', '--family', 'omnivoice', '--model', '/home/odelator/pyvideotrans-main/models/OmniVoice-GGUF/omnivoice-q8_0.gguf', '--backend', 'cpu', '--text', 'Olá, meu querido amigo, espero que cada um dos seus dias seja maravilhoso e agradável!', '--voice-ref', '/home/odelator/pyvideotrans-main/f5-tts/en_female_1.wav', '--reference-text', 'Genes of intracellular calcium metabolism and blood pressure control in primary hypertension.', '--request-option', 'seed=24', '--out', '/tmp/pyvideotrans/5-1795561291.4307356.wav-24k.wav', '--threads', '8']
{'text': 'Olá, meu querido amigo, espero que cada um dos seus dias seja maravilhoso e agradável!', 'rate': '+0%', 'role': 'en_female_1.wav', 'filename': '/tmp/pyvideotrans/5-1795561291.4307356.wav', 'tts_type': 5, 'language': 'pt-br', 'volume': '+0%', 'pitch': '+0Hz'}
Traceback (most recent call last):
File "/home/odelator/pyvideotrans-main/videotrans/util/ListenVoice.py", line 23, in run

tts.run(

File "/home/odelator/pyvideotrans-main/videotrans/tts/__init__.py", line 154, in run

return _cls(**kwargs).run()  # type:ignore

File "/home/odelator/pyvideotrans-main/videotrans/tts/_base.py", line 98, in run

self._exec()

File "/home/odelator/pyvideotrans-main/videotrans/tts/_audiocpp.py", line 155, in _exec

raise _except if _except else DubbingSrtError('audio.cpp dubbing error')

File "/home/odelator/pyvideotrans-main/videotrans/tts/_audiocpp.py", line 139, in _exec

exec_audiocpp(cmd)

File "/home/odelator/pyvideotrans-main/videotrans/util/help_misc.py", line 706, in exec_audiocpp

raise RuntimeError(

RuntimeError: proc.returncode=127,stderr='/home/odelator/pyvideotrans-main/audio_cpp/audiocpp_cli: symbol lookup error: /home/odelator/pyvideotrans-main/audio_cpp/audiocpp_cli: undefined symbol: log10f, version GLIBC_2.27\n'
stdout=''
cmd=['/home/odelator/pyvideotrans-main/audio_cpp/audiocpp_cli', '--task', 'tts', '--family', 'omnivoice', '--model', '/home/odelator/pyvideotrans-main/models/OmniVoice-GGUF/omnivoice-q8_0.gguf', '--backend', 'cpu', '--text', 'Olá, meu querido amigo, espero que cada um dos seus dias seja maravilhoso e agradável!', '--voice-ref', '/home/odelator/pyvideotrans-main/f5-tts/en_female_1.wav', '--reference-text', 'Genes of intracellular calcium metabolism and blood pressure control in primary hypertension.', '--request-option', 'seed=24', '--out', '/tmp/pyvideotrans/5-1795561291.4307356.wav-24k.wav', '--threads', '8']


=
system:Linux-7.0.0-28-generic-x86_64-with-glibc2.39
version:v4.19
frozen:False
language:en_US
root_dir:/home/odelator/pyvideotrans-main
Python: 3.10.19 (main, Feb 12 2026, 00:42:18) [Clang 21.1.4 ]

1 Replies

#1 DeepSeek reply at 13 hours ago

The audiocpp_cli binary on this Linux machine cannot load the required libm symbol (log10f@GLIBC_2.27), so the child process exits with code 127 before Audio.cpp does any work. This is a binary/runtime library mismatch — either the downloaded audiocpp_cli is incomplete/corrupted, or a non-system libm/LD_LIBRARY_PATH (e.g. a conda/uv environment) is being picked up instead of the system glibc 2.39.

Troubleshooting steps:

  1. Delete the binary to force a fresh download: remove software directory/audio_cpp/audiocpp_cli, then run the Audio.cpp task again; the software re-downloads the latest build automatically.
  2. Check which libraries the binary actually loads:

    • ldd /home/odelator/pyvideotrans-main/audio_cpp/audiocpp_cli
    • Verify the system really provides the version it wants: nm -D /lib/x86_64-linux-gnu/libm.so.6 | grep log10f
      If libm resolves to a path outside /lib/x86_64-linux-gnu/ (conda, snap, custom prefix), clear LD_LIBRARY_PATH and start the software from a clean shell.
  3. If the error persists after a clean re-download and with the system libm, the prebuilt audiocpp_cli is not compatible with your distribution and cannot be fixed at runtime — switch to another TTS channel for this language (Portuguese): Edge-TTS (Free), or the built-in OmniVoice(Built-in) channel, which does not depend on audiocpp_cli.
  4. If you want the Audio.cpp issue itself investigated, provide the output of the two commands in step 2 and confirm whether LD_LIBRARY_PATH is set in the environment where sp.py is launched.

Please refer to the related documentation:

Thinking...
Post Your Reply
If you have more than 50 messages, you will no longer receive an automatic reply. Please ask a new question!
Open source and free maintenance is not easy. If this project is helpful to you, please consider making a small donation to help the project continue to maintain and update.

Dondate via ko-fi.com

Related resource