Compiled with the noted uuid

Hi,

I am using Asterisk 13.21 and it is compiled with the uuid.

rpm -qa | grep uuid
libuuid-2.17.2-12.28.el6_9.2.x86_64
uuid-1.6.1-10.el6.x86_64
uuid-devel-1.6.1-10.el6.x86_64
libuuid-devel-2.17.2-12.28.el6_9.2.x86_64

ldd /usr/lib64/asterisk/modules/res_rtp_asterisk.so
linux-vdso.so.1 => (0x00007ffcc47fa000)
libssl.so.10 => /usr/lib64/libssl.so.10 (0x00007fe523e57000)
libcrypto.so.10 => /usr/lib64/libcrypto.so.10 (0x00007fe523a72000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fe523855000)
libc.so.6 => /lib64/libc.so.6 (0x00007fe5234c1000)
libgssapi_krb5.so.2 => /lib64/libgssapi_krb5.so.2 (0x00007fe52327d000)
libkrb5.so.3 => /lib64/libkrb5.so.3 (0x00007fe522f96000)
libcom_err.so.2 => /lib64/libcom_err.so.2 (0x00007fe522d92000)
libk5crypto.so.3 => /lib64/libk5crypto.so.3 (0x00007fe522b66000)
libdl.so.2 => /lib64/libdl.so.2 (0x00007fe522962000)
libz.so.1 => /lib64/libz.so.1 (0x00007fe52274c000)
/lib64/ld-linux-x86-64.so.2 (0x00007fe5242db000)
libkrb5support.so.0 => /lib64/libkrb5support.so.0 (0x00007fe522541000)
libkeyutils.so.1 => /lib64/libkeyutils.so.1 (0x00007fe52233e000)
libresolv.so.2 => /lib64/libresolv.so.2 (0x00007fe522124000)
libselinux.so.1 => /lib64/libselinux.so.1 (0x00007fe521f05000)

I have recompiled it and issue is same

Can anyone let me know why it is not showing in ldd command

The res_rtp_asterisk module does not use UUID functionality directly, so it is not linked against it. It is linked against the main asterisk binary.

Sorry but I was reading this article here it shows on ldd command

can you please guide me what is the difference here?

The linked post is from 6 years ago, at which point the core did not use UUID functionality so the library was directly used by res_rtp_asterisk itself. This was changed so the Asterisk core uses UUID and provides an interface for doing so, thus res_rtp_asterisk doesn’t use the library directly anymore.

1 Like

Ok, @jcolp Thank you so much :slight_smile:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.