[Pythonmac-SIG] Dependencies for Python packages on OS-X
woklist at kyngchaos.com
Thu Apr 24 20:52:38 CEST 2008
Nowhere in the system (at least user-accessible).
Generally, Apple only puts stuff it actually uses into its library
collection (/usr/lib). X11 includes FT and PNG because they are basic
to X11's operation, or at least needed for the most common X11-based
software (maybe libjpeg is not used often in X11-based software).
Also, PNG is new to Leopard's X11.
That said, there are internal copies of libgif, libjpeg, libpng and
libtiff (among others) in the ApplicationServices framework (ImageIO
subframework, where I got the idea for my UnixImageIO framework).
These are not publicly usable because they have no headers, though
they appear to be unmodified. They are only used internally by the
ApplicationServices API, and noone should attempt to use them directly.
Apple made other hidden libraries directly usable, like libGL in the
OpenGL framework, but they probably decided to make the image
libraries unaccessible to provide a uniform API to image handling
(iow, their individual APIs weren't vital to the function of the
system or ApplicationServices API).
This rambling was probably unnecessary, but the upshot is don't expect
Apple to add other image libraries to the system or X11. We're on our
On Apr 24, 2008, at 11:32 AM, Christopher Barker wrote:
> One more,
> How about libjpeg?
> Nathan wrote:
>> My guess would be yes.
>> $ locate *libpng* | grep -Ev 'opt|App|old'
> Christopher Barker, Ph.D.
> Emergency Response Division
> NOAA/NOS/OR&R (206) 526-6959 voice
> 7600 Sand Point Way NE (206) 526-6329 fax
> Seattle, WA 98115 (206) 526-6317 main reception
> Chris.Barker at noaa.gov
> Pythonmac-SIG maillist - Pythonmac-SIG at python.org
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
All generalizations are dangerous, even this one.
More information about the Pythonmac-SIG