Mike Dyall-Smith wrote: > > On 26/11/2007, at 11:51 AM, [EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]> wrote: > >> Message: 6 >> >> Date: Sun, 25 Nov 2007 19:50:47 -0500 >> >> From: Hans Kruse <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> >> >> Subject: Re: [Fink-users] failure on compile of mjpegtools-1.6.2-1004 >> >> I think you will find a softlink X11R6 -> X11 in /usr, so it should >> in general not matter. >> > My /usr directory (Tiger) does not have a soft link, just the X11R6
The bug report you were quoting at the beginning of this thread came from a computer running on Leopard. Was this not yours? The error message you showed about "cycle in dylib re-exports" is a Leopard feature. Also the build log showed /usr/X11 being used, which it would not do if it didn't exist. Are you talking about two different computers? On Leopard, you have X11 installed in /usr/X11, with a symlink /usr/X11R6->/usr/X11 for backward compatibility, plus /usr/X11R6\ 1 if you did an upgrade-install. > directory. Perhaps the > link is elsewhere. > I looked at the patch for mjpegtools and noticed: > > SetLDFLAGS: -dylib_file > /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib > > Can someone tell me why this flag uses two identical paths for > libGL.dylib (they look the same to me)? See <http://wiki.finkproject.org/index.php/Fink:Packaging:Preparing_for_10.5#OpenGL_Bug> This is the known workaround for a feature of Leopard's linker which thinks it is clever to load the wrong library when it has vaguely the same name as the right one. The flag basically tells /usr/bin/ld: If you are asked to load this library /System/.../libGL.dylib, then really load it, and not another library with the same name libGL.dylib that you might find elsewhere (namely in /usr/X11/lib/). -- Martin ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Fink-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fink-users
