Skip to content


How to build kdiff3 in MacPorts on OS X 10.5 Leopard

Are you getting this error message when trying to build kdiff3 in MacPorts?

i686-apple-darwin9-g++-4.0.1: /usr/X11/lib/libGL.dylib: No such file or directory
make[2]: *** [libkdiff3part.la] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Error: Status 1 encountered during processing.

Here is how to solve it:

BASH:
  1. $ sudo mv /usr/X11R6/lib/libGL.dylib /usr/X11R6/lib/libGL.dylib_bak
  2. $ sudo ln -s /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib /usr/X11R6/lib/libGL.dylib
  3. $ sudo port install kdiff3
  4. $ sudo rm /usr/X11R6/lib/libGL.dylib
  5. $ sudo mv /usr/X11R6/lib/libGL.dylib_bak /usr/X11R6/lib/libGL.dylib

Posted in general.

Tagged with , , , , , .


0 Responses

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.



Some HTML is OK

or, reply to this post via trackback.



Close