[Pdx-pm] dependencies problem

Michael G Schwern schwern at gmail.com
Fri Oct 27 16:46:01 PDT 2006

Thomas J Keller wrote:
> Greetings,
> I'm trying to update the BioPerl bundle on my MacBook (intel core duo),
> OSX 10.4.8. One of the dependencies is the libpng lib files. I'm using
> the darwin optimized makefile but get this:
> littlecatb:~/Desktop/libpng-1.2.12 kellert$ make test
> gcc -s -L/usr/local/lib -o pngtest pngtest.o libpng.a -lz -lm
> /usr/bin/ld: Undefined symbols:
> _png_mmx_support
> _png_combine_row
> _png_do_read_interlace
> _png_read_filter_row
> collect2: ld returned 1 exit status
> make: *** [pngtest] Error 1
> Could someone suggest a solution or workaround for this?

Rather than compiling things yourself, try using the libpng provided by a package manager like fink (fink.sf.net) or Macports (macports.org).  They'll have already done whatever patching is necessary to make it work on OS X.

More information about the Pdx-pm-list mailing list