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? Thank you all, aa
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>
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).
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?
sudo ln -s libXrandr.2.dylib /usr/X11/lib/libXrandr.2.0.0.dylib If you buy a new Mac, with Mac OS X 10.5.2 pre-installed, it only has the newer version of X11 which only has the last and latest link. So you have "libXrandr.2.0.1.dylib", but not "libXrandr.2.0.0.dylib". Ironically, both are supposed to link to the same library anyway... /usr/X11/lib/libXrandr.2.0.0.dylib -> libXrandr.2.dylib /usr/X11/lib/libXrandr.2.1.0.dylib -> libXrandr.2.dylib /usr/X11/lib/libXrandr.2.dylib /usr/X11/lib/libXrandr.dylib -> libXrandr.2.dylib Traced as http://trac.macports.org/projects/macports/ticket/14592 --anders
participants (4)
-
Alejandro Aragon
-
Anders F Björklund
-
paul beard
-
Ryan Schmidt