[asterisk-users] How to check currently used libraries from command line ?
Olivier
oza_4h07 at yahoo.fr
Mon Jan 16 04:31:23 CST 2012
2012/1/16, Anton Kvashenkin <anton.jugatsu at gmail.com>:
> ldd
Thanks for replying.
I got this:
# ldd /usr/sbin/asterisk
linux-gate.so.1 => (0xb7886000)
libssl.so.0.9.8 => /usr/lib/i686/cmov/libssl.so.0.9.8 (0xb7834000)
libcrypto.so.0.9.8 => /usr/lib/i686/cmov/libcrypto.so.0.9.8 (0xb76dc000)
libc.so.6 => /lib/i686/cmov/libc.so.6 (0xb7595000)
libxml2.so.2 => /usr/lib/libxml2.so.2 (0xb746b000)
libsqlite3.so.0 => /usr/lib/libsqlite3.so.0 (0xb73df000)
libdl.so.2 => /lib/i686/cmov/libdl.so.2 (0xb73db000)
libpthread.so.0 => /lib/i686/cmov/libpthread.so.0 (0xb73c2000)
libncurses.so.5 => /lib/libncurses.so.5 (0xb7387000)
libm.so.6 => /lib/i686/cmov/libm.so.6 (0xb7361000)
libresolv.so.2 => /lib/i686/cmov/libresolv.so.2 (0xb734d000)
libz.so.1 => /usr/lib/libz.so.1 (0xb7339000)
/lib/ld-linux.so.2 (0xb7887000)
# ldd /usr/lib/libspandsp.so
linux-gate.so.1 => (0xb77a1000)
libtiff.so.4 => /usr/lib/libtiff.so.4 (0xb769b000)
libm.so.6 => /lib/i686/cmov/libm.so.6 (0xb7675000)
libc.so.6 => /lib/i686/cmov/libc.so.6 (0xb752e000)
libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0xb750e000)
libz.so.1 => /usr/lib/libz.so.1 (0xb74fa000)
/lib/ld-linux.so.2 (0xb77a2000)
So, with those 2 commands, I couldn't directly check the link between
asterisk and spandsp, and check am I'm really using spandsp0.0.6pre18.
>
> 2012/1/16 Olivier <oza_4h07 at yahoo.fr>
>
>> Hi,
>>
>> I've recently upgraded a system from 1.8 to asterisk 10 and also
>> updated spandsp while doing so.
>> I wondered what is the safest and easiest way to check from command
>> line which libraries a running Asterisk system is currently using
>> (just like "dahdi show version", for instance).
>>
>> Though I'm currently asking this for spandsp, this question is on a
>> more general plan (for example, which ssl library am I currently using
>> ?).
>>
>> Suggestions ?
>>
>> Regards
>>
>> --
>> _____________________________________________________________________
>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>> New to Asterisk? Join us for a live introductory webinar every Thurs:
>> http://www.asterisk.org/hello
>>
>> asterisk-users mailing list
>> To UNSUBSCRIBE or update options visit:
>> http://lists.digium.com/mailman/listinfo/asterisk-users
>>
>
More information about the asterisk-users
mailing list