O'Reilly logo

Mac OS X for Unix Geeks by Brian Jepson, Ernest E. Rothman

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required