Just another apr_pool_mutex_set problem (CentOS)

251 views
Skip to first unread message

Alejandro Mejía Evertsz

unread,
Apr 19, 2012, 10:04:21 PM4/19/12
to uni...@googlegroups.com
Hello,

I'm having the same problem some guys running debian had reported
(http://groups.google.com/group/unimrcp/browse_thread/thread/765b71f910262836?pli=1)
I'm running CentOS 5.4 x64 and I had apr-1.2.7 installed. I removed it
and installed the ones that come with -deps package.
I used --with-apr= and --with-apr-util= on ./configure and everything
installs ok.
The only problem I have is that when I run the server, I get:

# ./unimrcpserver
./unimrcpserver: symbol lookup error:
/usr/local/unimrcp/lib/libunimrcpserver.so.0: undefined symbol:
apr_pool_mutex_set

lld shows this:

# ldd /usr/local/unimrcp/lib/libunimrcpserver.so
linux-vdso.so.1 => (0x00007fff319df000)
libapr-1.so.0 => /usr/local/apr/lib/libapr-1.so.0
(0x00002ab5ec6a1000)
libuuid.so.1 => /lib64/libuuid.so.1 (0x00002ab5ec8e1000)
librt.so.1 => /lib64/librt.so.1 (0x00002ab5ecae5000)
libcrypt.so.1 => /lib64/libcrypt.so.1 (0x00002ab5eccee000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00002ab5ecf27000)
libdl.so.2 => /lib64/libdl.so.2 (0x00002ab5ed142000)
libaprutil-1.so.0 => /usr/local/apr/lib/libaprutil-1.so.0
(0x00002ab5ed346000)
libexpat.so.0 => /lib64/libexpat.so.0 (0x00002ab5ed567000)
libsofia-sip-ua.so.0 => /usr/local/lib/libsofia-sip-ua.so.0
(0x00002ab5ed789000)
libm.so.6 => /lib64/libm.so.6 (0x00002ab5edb0b000)
libc.so.6 => /lib64/libc.so.6 (0x00002ab5edd8f000)
/lib64/ld-linux-x86-64.so.2 (0x0000003efcc00000)
libssl.so.6 => /lib64/libssl.so.6 (0x00002ab5ee0e7000)
libcrypto.so.6 => /lib64/libcrypto.so.6 (0x00002ab5ee334000)
libz.so.1 => /usr/lib64/libz.so.1 (0x00002ab5ee685000)
libgssapi_krb5.so.2 => /usr/lib64/libgssapi_krb5.so.2
(0x00002ab5ee899000)
libkrb5.so.3 => /usr/lib64/libkrb5.so.3 (0x00002ab5eeac8000)
libcom_err.so.2 => /lib64/libcom_err.so.2 (0x00002ab5eed5d000)
libk5crypto.so.3 => /usr/lib64/libk5crypto.so.3
(0x00002ab5eef5f000)
libkrb5support.so.0 => /usr/lib64/libkrb5support.so.0
(0x00002ab5ef185000)
libkeyutils.so.1 => /lib64/libkeyutils.so.1 (0x00002ab5ef38d000)
libresolv.so.2 => /lib64/libresolv.so.2 (0x00002ab5ef58f000)
libselinux.so.1 => /lib64/libselinux.so.1 (0x00002ab5ef7a5000)
libsepol.so.1 => /lib64/libsepol.so.1 (0x00002ab5ef9bd000)

Any ideas?

Thanks!

Alex

Arsen Chaloyan

unread,
Apr 30, 2012, 10:08:18 PM4/30/12
to uni...@googlegroups.com
Hello Alejandro,

I can't tell where the problem is in your case. But if trying to run
unimrcpserver, you get undefined symbol on apr_pool_mutex_set(), this
means the original APR lib is still in use. The function
apr_pool_mutex_set() doesn't exist in the original distribution of
APR. So, make sure you have not only compiled but also installed (make
install) the version of the APR library which comes with the
dependencies.
> --
> You received this message because you are subscribed to the Google Groups
> "UniMRCP" group.
> To post to this group, send email to uni...@googlegroups.com.
> To unsubscribe from this group, send email to
> unimrcp+u...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/unimrcp?hl=en.
>



--
Arsen Chaloyan
Author of UniMRCP
http://www.unimrcp.org
Reply all
Reply to author
Forward
0 new messages