HomeProcessMac OS XPerlJavaJavascriptWeb AppsZipcodesMapping

Max OS X Programming Notes

         I have been a Macintosh OS X user for about three years now, coming from a background more in UNIX than in Max OS. This page is primarily my notes on getting various UNIX packages and command-line tools to work on Mac OS X.

Open-Source Packages

         A warning: many of the packages built for previous versions no longer work on OS X version 10.2 ("Jaguar"). I get a number of dyld undefined symbols such as _tgetent, _tgetflag, and more. The System linked libraries in OS X have moved to separate libraries so the LDFLAGS and CFLAGS have to be set. The most common new settings are:

LDFLAGS=-ltinfo -lgcc
( setenv CFLAGS -no-cpp-precomp;setenv LDFLAGS '-ltinfo -lgcc')
If a program did not use any of libraries that were moved it still works on 10.2. Example :bzip2, gnutar, rpm etc.




John H. Kim <jhkim@darkshire.net>
Last modified: Wed May 19 17:50:25 2004