On Tue, Jul 13, 2010 at 2:44 PM, Neil Berg <[email protected]> wrote: > Hi Alexander, > > I'm using a 64-bit installation. Here is more of the thread before the error > messages appear: > > /usr/bin/make -f Makefile.doxygen PERL=/usr/bin/perl all > c++ -c -pipe -D__FreeBSD__=6 -Wall -W -O2 -I../qtools -I../libmd5 -I. > -I/sw/include -o ../objects/ma > in.o main.cpp > c++ -Wl,-search_paths_first -o ../bin/doxygen ../objects/main.o -L../lib > -L/sw/lib -ldoxygen -ldoxy > cfg -lqtools -lpng -lmd5 -liconv > Undefined symbols: > "_deflateEnd", referenced from: > _png_write_destroy in libpng.a(libpng12_la-pngwrite.o) > ... > > Hmm...I couldn't reproduce this on my 64-bit installation. I show the following at the same place:
/usr/bin/make -f Makefile.doxygen PERL=/usr/bin/perl all c++ -c -pipe -D__FreeBSD__=6 -Wall -W -O2 -I../qtools -I../libmd5 -I. -I/sw64/include -o ../objects/main.o main.cpp c++ -Wl,-search_paths_first -o ../bin/doxygen ../objects/main.o -L../lib -L/sw64/lib -ldoxygen -ldoxycfg -lqtools -lpng -lmd5 -liconv /usr/bin/make -f Makefile.doxytag PERL=/usr/bin/perl all .... The fact that it is linking to the static library (libpng.a) rather than the dynamic library (libpng.dylib) is strange to me. What Xcode version do you have (e.g. 'fink list xcode')? I have 3.2.2. Also check to see whether libpng.dylib is actually as it should be: $ file /sw64/lib/libpng.dylib /sw64/lib/libpng.dylib: Mach-O 64-bit dynamically linked shared library x86_64 (with /sw instead of /sw64 for your case). If that's there and isn't a broken symbolic link, then you might try removing /sw/lib/libpng.a and see if the build works. You should then restore it with "fink reinstall libpng3". Also do that if libpng.dylib happens to be nonexistent. -- Alexander K. Hansen akh AT finkproject DOT org Fink User Liaison and Documenter ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ Fink-beginners mailing list [email protected] http://news.gmane.org/gmane.os.apple.fink.beginners
