Oh I just found out now that this undefined symbol thing has
nothing to do
with the universal binary code, but it occurs whenever i turn off the
zerolink. How can I properly link to zlib.h actually? Thanks a lot..
You can't; zlib.h is just a header file that declares the interface
to a library. You need to link against the library itself. You can
do this by adding /usr/lib/libz.dylib to your target, or by adding "-
lz" to the "Other Linker Flags" build setting in your target's
configurations.
-- Chris
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden