On Thu, Mar 20, 2008 at 6:50 PM, Alejandro Aragon <alejandro.aragon@gmail.com> wrote:
Hello everyone,

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 Beard / www.paulbeard.org/
<paulbeard@gmail.com/paulbeard@gmail.com>