Jack Howarth wrote: > Does anyone have an insight on why the hack being used for freeglut > fails when applied to the molmol package? Specifically, if you change the > line... > > + -lSM -lICE -lm -lc -lGLU -lGL -lGLw -lmx > > in the molmol.patch file to... > > + -lSM -lICE -lm -lc -lGLU > -Wl,-dylib_file,/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib > -lGLw -lmx
Did you really remove -lGL from the list of dylibs? You still need it. The -dylib_file hack only tells ld to really use the framework libGL.dylib when it is indirectly linked to and not to replace it by the X11 libGL.dylib. But it does not by itself place any libGL on the linker line. Apple should really introduce a "-honor-install_names" linker flag (and make it the default instead of the current chaotic behavior). -- Martin ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Fink-devel mailing list Fink-devel@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.devel