On Mar 20, 2008, at 23:22, paul beard wrote:
On Thu, Mar 20, 2008 at 6:50 PM, Alejandro Aragon wrote:
I was trying to build pidgin, and when compiling gtk2 I had the following error:
i686-apple-darwin9-gcc-4.0.1: /usr/X11/lib/libXrandr.2.0.0.dylib: No such file or directory make[4]: *** [libgdk-x11-2.0.la] Error 1
I'm new to Mac OS so I was wondering why this library is not there. Is there an easy way to fix this?
You installed the X11 SDK when you installed XCode? And have the latest X11 installed?
[/Users/paul]:: locate libXrandr /Developer/SDKs/MacOSX10.3.9.sdk/usr/X11R6/lib/libXrandr.2.0.dylib /Developer/SDKs/MacOSX10.3.9.sdk/usr/X11R6/lib/libXrandr.2.dylib /Developer/SDKs/MacOSX10.3.9.sdk/usr/X11R6/lib/libXrandr.a /Developer/SDKs/MacOSX10.3.9.sdk/usr/X11R6/lib/libXrandr.dylib /Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6/lib/libXrandr.2.0.dylib /Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6/lib/libXrandr.2.dylib /Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6/lib/libXrandr.a /Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6/lib/libXrandr.dylib /usr/X11R6/lib/libXrandr.2.0.dylib /usr/X11R6/lib/libXrandr.2.dylib /usr/X11R6/lib/libXrandr.a /usr/X11R6/lib/libXrandr.dylib
Paul, a) you appear to be on 10.4 and the OP is on 10.5 (note "darwin9" in the compiler name); b) you don't have libXrandr. 2.0.0.dylib either (though you have libXrandr.2.0.dylib and libXrandr. 2.dylib).