unispeech / unimrcp

Open source cross-platform implementation of MRCP protocol
http://www.unimrcp.org
Apache License 2.0
380 stars 167 forks source link

`apr_pool_mutex_set' #327

Open Dmiriy opened 5 months ago

Dmiriy commented 5 months ago

CCLD unimrcpclient /usr/libexec/gcc/x86_64-pc-linux-gnu/ld: ../../platforms/libunimrcp-client/.libs/libunimrcpclient.so: undefined reference to `apr_pool_mutex_set' collect2: error: ld returned 1 exit status make[2]: *** [Makefile:479: unimrcpclient] Ошибка 1 linux kernel: 6.6.21-gentoo

UniMRCP version............... : 1.7.0

APR version................... : 1.6.6 APR-util version.............. : 1.6.3 Sofia-SIP version............. : 1.13.17

Compiler...................... : gcc Compiler flags................ : -g -O2 Preprocessor definitions...... : -DLINUX -D_REENTRANT -D_GNU_SOURCE Linker flags.................. :

UniMRCP client lib............ : yes Sample UniMRCP client app..... : yes Sample UMC C++ client app..... : yes Misc ASR client lib and app... : yes

UniMRCP server lib............ : yes UniMRCP server app............ : yes

Demo synthesizer plugin....... : yes Demo recognizer plugin........ : yes Demo verifier plugin.......... : yes Vosk recognizer plugin........ : yes Recorder plugin............... : yes

Installation layout........... : classic Installation directory........ : /usr/local/unimrcp

help me solve the problem.

ladenedge commented 4 months ago

UniMRCP only supports APR 1.5.2 at this time via the dependencies package.

Note in your configure log the version of APR it found:

APR version................... : 1.6.6
APR-util version.............. : 1.6.3

This means you have a libapr installed on your system already. You need to either:

There are various other solutions to this problem depending on your environment. Just google "unimrcp apr_pool_mutex_set" if the above doesn't work for you.