Interesting and Important Libraries

Table 5-2 lists some significant libraries included with Mac OS X and Table 5-3 lists some significant libraries that do not come with Mac OS X (but are available through Fink).

Table 5-2. Important Mac OS X libraries

Library

Description

Headers

libalias

A packet aliasing library for masquerading and network address translation

Not included in Mac OS X. See the network_cmds module in the Darwin CVS archive.

libl.a

The lex runtime library

Not applicable. Lexical analyzers that you generate with lex have all the necessary definitions.

libMallocDebug

A library for the MallocDebug utility (/Developer/Applications)

Not applicable.You don’t need to do anything special with your code to use this utility.

libncurses(libcurses is available for backward compatibility.)

The new curses screen library, a set of functions for controlling a terminal’s display screen

/usr/include/ncurses.h (curses.h is available for backward compatibility.)

libobjc

The library for the GNU Objective-C compiler

/usr/include/objc/*

libpcap

Packet capture library

/usr/include/pcap*

libssl and libcrypto

An OpenSSL: Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols, as well as a full-strength, general-purpose cryptography library

/usr/include/openssl/*

libtcl

The Tcl runtime library

/usr/include/tcl.h

liby.a

The yacc runtime library

Not applicable. ...

Get Mac OS X for Unix Geeks now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.