Ryan Schmidt wrote: > On Sep 29, 2008, at 04:44, Normen Müller wrote: > >> I am trying to install dia, but get the following error: >> >> # port install dia >> ---> Fetching gtk2 >> Error: Some libs are missing from your X11 installation. Please run >> this command: >> Error: sudo ln -s libXrandr.2.dylib /usr/X11/lib/libXrandr.2.0.0.dylib >> Error: Target org.macports.fetch returned: missing >> /usr/X11/lib/libXrandr.2.0.0.dylib > > So it needs the file "libXrandr.2.0.0.dylib". > > >> Error: The following dependencies failed to build: gtk2 libart_lgpl >> Error: Status 1 encountered during processing. >> >> However, at /usr/X11/lib there exist the following respective libs: >> >> # ls -al /usr/X11/lib/libXrandr.* >> lrwxr-xr-x 1 root wheel 17 Aug 4 21:18 >> /usr/X11/lib/libXrandr.2.1.0.dylib -> libXrandr.2.dylib >> -rwxr-xr-x 1 root wheel 164144 Mar 5 2008 >> /usr/X11/lib/libXrandr.2.dylib >> lrwxr-xr-x 1 root wheel 17 Feb 21 2008 >> /usr/X11/lib/libXrandr.dylib -> libXrandr.2.dylib >> -rwxr-xr-x 1 root wheel 955 May 10 11:41 /usr/X11/lib/libXrandr.la > > So you don't have the file "libXrandr.2.0.0.dylib". > > >> BTW, aren't the parameter order of 'ln' in ``Error: sudo ln -s >> libXrandr.2.dylib /usr/X11/lib/libXrandr.2.0.0.dylib'' wrong? > > Looks exactly correct to me. The command says "Create a symlink at > /usr/X11/lib/libXrandr.2.0.0.dylib that points to libXrandr.2.dylib in > the same directory." And that's exactly what you want to do. You should > run the command, like it says. > > man ln says
ln [-Ffhinsv] source_file [target_file] but if I run ``sudo ln -s libXrandr.2.dylib /usr/X11/lib/libXrandr.2.0.0.dylib'' from my home there exists no ``libXrandr.2.dylib'' Anyway, I will delete the first of the following two links, but leave the second one. /usr/X11/lib/libXrandr.2.0.0.dylib -> /usr/X11/lib/libXrandr.2.dylib /usr/X11/lib/libXrandr.2.1.0.dylib -> libXrandr.2.dylib Eventually, that means we have to wait for bug fix, right? Cheers, /nm _______________________________________________ macports-users mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
