On Jan 8, 2008 6:43 PM, Tim van Dijk <[EMAIL PROTECTED]> wrote: > I'm getting the "cycle in dylib" error when glew is being linked with > OpenGL. This problem is mentioned here: > > http://wiki.finkproject.org/index.php/Fink:Packaging:Preparing_for_10.5#OpenGL_Bug > > but the proposed solution doesn't help for me (and even if it did, > glew should still be fixed anyway). Here's part of the terminal output > when I try to build glew: > > gcc -dynamiclib -install_name /sw/lib/libGLEW.1.dylib -current_version > 1.3.5 -compatibility_version 1.3 -o lib/libGLEW.1.3.5.dylib src/ > glew.pic_o -L/usr/X11R6/lib -lXmu -lXi -lGLU -lGL -lXext -lX11 > ld: cycle in dylib re-exports with /usr/X11R6/lib/libGL.dylib > collect2: ld returned 1 exit status > make: *** [lib/libGLEW.1.3.5.dylib] Error 1 > ### execution of make failed, exit code 2 > > I tried to export LD_FLAGS (I didn't have an LD_FLAGS in my export > list before) with the value "-Wl,-dylib_file,/System/Library/ > Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/ > Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib" > as suggested, but I get no change. > > Any ideas for a fix? > >
The fix on the wiki is for the maintainer to implement, not users, since Fink explicitly ignores the user environment when building. -- Alexander K. Hansen akh AT finkproject DOT org Fink User Liaison and Documenter ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Fink-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fink-users
