[asterisk-dev] External libraries used in Asterisk
Brian Capouch
brianc at palaver.net
Mon Mar 12 09:52:06 MST 2007
Olle E Johansson wrote:
> I've been trying to add pointers to the external libraries we use in
> Asterisk to doxygen, see
> http://www.asterisk.org/doxygen/trunk/extref.html
>
> If you have any updates or missing links, I appreciate you either
> update this list (if you have
> commit access) or reply here on the list!
>
The page is now loading here, by the way. . .
I don't know whether you meant this to include the libs needed by the
Asterisk binary itself, but for sure some of the libraries it needs, on
some distributions (e.g. openWRT) have to be installed separately from a
standard distro install:
# ldd /usr/sbin/asterisk
libdl.so.2 => /lib/libdl.so.2 (0xb7f27000)
libpthread.so.0 => /lib/libpthread.so.0 (0xb7ed4000)
libtermcap.so.2 => /lib/libtermcap.so.2 (0xb7ed0000)
libresolv.so.2 => /lib/libresolv.so.2 (0xb7ebf000)
libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0xb7e0b000)
libm.so.6 => /lib/libm.so.6 (0xb7de8000)
libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0xb7de0000)
libc.so.6 => /lib/libc.so.6 (0xb7cac000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0xb7f3b000)
On openWRT libgcc_s, libtermcap, and libstdc++ need to be
custom-installed, as well as libz and various other libraries needed
indirectly.
Also res_config_pgsql and cdr_pgsql need libz.
The curl libs also have "cascaded dependencies" that include libidn,
which isn't installed by default almost anywhere. And despite being in
the makefiles, as far as I can tell isn't really used by the curl
library, since it doesn't make any difference if that dependency is
deleted from the build.
B.
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
More information about the asterisk-dev
mailing list