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

`apr_pool_mutex_set' #327

Open
Dmiriy opened this issue Jun 3, 2024 · 1 comment
Open

`apr_pool_mutex_set' #327

Dmiriy opened this issue Jun 3, 2024 · 1 comment

Comments

@Dmiriy
Copy link

Dmiriy commented Jun 3, 2024

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
Copy link
Contributor

ladenedge commented Jul 3, 2024

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:

  • remove the existing libapr, and/or
  • point your build at the version in the dependencies package using the --with-apr and --with-apr-util flags as discussed in the INSTALL instructions.

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.

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

2 participants