piper icon indicating copy to clipboard operation
piper copied to clipboard

Link failure of libespeak-ng

Open WilliamTambellini opened this issue 1 year ago • 1 comments

Hi Build/link fatal error:

make 
...
-- Using src='https://github.com/rhasspy/espeak-ng/archive/0f65aa301e0d6bae5e172cc74197d32a6182200f.zip'
...
[  5%] Linking C static library libucd.a
...
[ 22%] Linking C shared library libespeak-ng.so
/usr/bin/ld: ../ucd-tools/libucd.a(categories.c.o): relocation R_X86_64_PC32 against symbol `ucd_lookup_category' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Bad value

it s just due to a bug in the espaek-ng version you are using. I ve fixed it few weeks ago: https://github.com/espeak-ng/espeak-ng/pull/1982

Any way to upgrade espeak-ng?

WilliamTambellini avatar Nov 21 '24 16:11 WilliamTambellini

@WilliamTambellini I get this issue, too. I wonder if there's a way to link against my local libespeak-ng instead of building it from scratch.

Geremia avatar Apr 25 '25 22:04 Geremia