[MINC-users] Display and Register Building under Leopard

EJ Nikelski nikelski at bic.mni.mcgill.ca
Sun Mar 2 17:59:47 EST 2008


Hi Andrew,


On Sun, Mar 2, 2008 at 5:44 PM, Andrew Janke <a.janke at gmail.com> wrote:
> Thanks for this Jim,

You're very welcome!

>
>  This I presume is with the --with-apple-opengl-framework configure option?

Yup, it is.

>
>  Others at UCLA have also found this error on leopard.
>
>
>  a
>
>
>
>  On Mon, Mar 3, 2008 at 9:26 AM, EJ Nikelski <nikelski at bic.mni.mcgill.ca> wrote:
>  > Hello List,
>  >
>  >    As part of my rebuilding the world using minc-2.0.15, I seem to
>  >  have come across a problem under Leopard (10.5).  Specifically, the
>  >  linker dies while linking Display and Register with the following
>  >  error message ...
>  >
>  >  ld: cycle in dylib re-exports with /usr/X11/lib/libGL.dylib
>  >  collect2: ld returned 1 exit status
>  >  make[2]: *** [register] Error 1
>  >
>  >    According to "The Google" this is a common error under Leopard.
>  >  The work-around is to add a couple of linker flags, like this ...
>  >
>  >  LDFLAGS="-Wl,-dylib_file,/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib"
>  >
>  >
>  >  This fixed the build error for me. Very cursory testing found both
>  >  programs functioning OK.
>  >
>  >
>  >  -Jim
>  >  _______________________________________________
>  >  MINC-users at bic.mni.mcgill.ca
>  >  http://www2.bic.mni.mcgill.ca/mailman/listinfo/minc-users
>  >
>
>
>
>  --
>  Andrew Janke   (a.janke at gmail.com || http://a.janke.googlepages.com/)
>  Canberra->Australia    +61 (402) 700 883
>  _______________________________________________
>  MINC-users at bic.mni.mcgill.ca
>  http://www2.bic.mni.mcgill.ca/mailman/listinfo/minc-users
>


More information about the MINC-users mailing list