Bugzilla – Bug 1927
authz linking problems on Mac OS X
Last modified: 2008-08-11 14:45:54
You need to log in before you can comment on or make changes to this bug.
It looks like libglobus_gsi_authz_callout_error is built as module for dlopening, but we are trying to link directly against it. Pieces of the build log: *** Warning: Linking the shared library libglobus_authz_gaa_callout_gcc32dbg.la against the loadable module *** libglobus_gsi_authz_callout_error_gcc32dbg.so is not portable! ** Warning, lib libglobus_gsi_authz_callout_error_gcc32dbg.so is a module, not a shared library ... ld: /sandbox/rynge/autotools-test-builds/200409141110/packaging/gt3.9.2rc3-wsrf-source-installer/test-install/lib/libglobus_gsi_authz_callout_error_gcc32dbg.so is input for the dynamic link editor, is not relocatable by the static link editor again make[2]: *** [libglobus_authz_gaa_callout_gcc32dbg.la] Error 1
This looks like it was built by mistake with -module instead of -shared. Not sure why configure would want to do that. I'll see if I can look at it on the plane
I have been told that this library is only supposed to be dlopened and that -module is right. If that is the case, the problem is in the GPT dependency declarations.
Ok, if it is going to dynamically opened by dyld, it needs to be of type MH_BUNDLE, so compiling with -bundle is correct.
I fixed this a while ago. That lib is just a utility lib that could be linked in as a shared lib wherever it was needed. It'll be in 3.9.4. Mike