The current CVS build is broken for universal binary building on OS X 10.4. We’ve tried on both PPC and x86 versions of 10.4 and identical errors result. Three different machines all are doing this. If I use the non-universal binary build then it compiles cleanly, so it appears that one ofthe libraries being pulled in is causing the problems.
If I don’t set the MACOSX_DEPLOYMENT_TARGET to 10.3, it complains about not being able to prebind and stops. If I set it to 10.3 then it fails to find _dlopen, _dlclose, dl_sym and several other libraries involved in dynamic library loading. This comes from the linking step of gluegen-rt.
Doing a little bit of research around the net, this particular problem started arising with the release of 10.4. One or more system libraries require these APIs beyond what the actually app code needed. The typical solution that worked for others was to add -ldl to the command line, which I’ve tried but hasn’t had any effect. We had this code compiling about a month ago, so I suspect that something in the most recent set of Apple updates on these machines has caused the problem. Wondering if anyone has come across this and some idea of a fix?