Now here's one that I can't figure out or find an answer. My plugin is compiling and linking into a PPC/i386 dylib. I'm using the -lz flag for the linker and include the zlib headers (zconf.h and zlib.h) as usual. No warnings or errors related to zlib. I am certain that libz.dylib (and its variations) exist in at least /usr/lib/ and in Developer/..../usr/lib/.
I 'install' the plugin dylib into the host application and run the application. The plugin works. I then attempt to call zlib functions and the first one, gzopen(), returns false. Now, realize that this plugin has been running for over a year on three systems: Windows, Window x64, and MacOS(9/10) and for hundreds of users! But, all versions have been using static library compiles of zlib (.lib) built into the plugin. So there is absolutely nothing wrong with my code - don't even go there.
What jewel of information am I missing?
Thanks,
Robert
I 'install' the plugin dylib into the host application and run the application. The plugin works. I then attempt to call zlib functions and the first one, gzopen(), returns false. Now, realize that this plugin has been running for over a year on three systems: Windows, Window x64, and MacOS(9/10) and for hundreds of users! But, all versions have been using static library compiles of zlib (.lib) built into the plugin. So there is absolutely nothing wrong with my code - don't even go there.

What jewel of information am I missing?
Thanks,
Robert