[MINC-users] Display and Register Building under Leopard
Andrew Janke
a.janke at gmail.com
Sun Mar 2 17:44:00 EST 2008
Thanks for this Jim,
This I presume is with the --with-apple-opengl-framework configure option?
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
More information about the MINC-users
mailing list