[MacPorts] #14592: gtk2 refers to libXrandr.2.0.0.dylib
#14592: gtk2 refers to libXrandr.2.0.0.dylib ------------------------------+--------------------------------------------- Reporter: alan@clifford.ac | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.6.0 Keywords: | ------------------------------+--------------------------------------------- install of gtk2 failed. i686-apple-darwin9-gcc-4.0.1: /usr/X11/lib/libXrandr.2.0.0.dylib: No such file or directory I had to make a symbolic link by hand: libXrandr.2.0.0.dylib -> libXrandr.2.dylib This was on a MacBook I bought today with Mac OS X version 10.5.2. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14592> MacPorts </projects/macports> Ports system for Mac OS
#14592: gtk2 refers to libXrandr.2.0.0.dylib -------------------------------+-------------------------------------------- Reporter: alan@clifford.ac | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.6.0 Resolution: | Keywords: -------------------------------+-------------------------------------------- Comment (by afb@macports.org): For the record, the command to regenerate the link is: {{{ sudo ln -s libXrandr.2.dylib /usr/X11/lib/libXrandr.2.0.0.dylib }}} -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14592#comment:1> MacPorts </projects/macports> Ports system for Mac OS
#14592: gtk2 refers to libXrandr.2.0.0.dylib -------------------------------+-------------------------------------------- Reporter: alan@clifford.ac | Owner: nox@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: -------------------------------+-------------------------------------------- Changes (by jmr@macports.org): * owner: macports-tickets@lists.macosforge.org => nox@macports.org * milestone: => Port Bugs Comment: Assigning to maintainer. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14592#comment:2> MacPorts </projects/macports> Ports system for Mac OS
#14592: gtk2 refers to libXrandr.2.0.0.dylib -------------------------------+-------------------------------------------- Reporter: alan@clifford.ac | Owner: nox@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: -------------------------------+-------------------------------------------- Comment (by jon-apple@phuq.co.uk): I can replicate this, on a new macBook pro with 10.5.2. The workaround is good. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14592#comment:3> MacPorts </projects/macports> Ports system for Mac OS
#14592: gtk2 refers to libXrandr.2.0.0.dylib -------------------------------+-------------------------------------------- Reporter: alan@clifford.ac | Owner: nox@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: -------------------------------+-------------------------------------------- Comment (by afb@macports.org): This problems happens when Mac OS X 10.5.2 is pre-installed. It does not happen when it has been upgraded from 10.5.0... -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14592#comment:4> MacPorts </projects/macports> Ports system for Mac OS
#14592: gtk2 refers to libXrandr.2.0.0.dylib -------------------------------+-------------------------------------------- Reporter: alan@clifford.ac | Owner: nox@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: -------------------------------+-------------------------------------------- Comment (by emailhole@gmail.com): The port appears to be looking for a specific version of libXrandr, specifically 2.0.0. However, 10.5.2 appears to have 2.1.0. A simple fix assuming that the library interface does not change is to just use libXrandr.dylib since there is a symbolic link for it to the version installed. I suspect that upgraded machines have both 2.0.0 and 2.1.0 for compatibility thus since the port looks for a specific version it works. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14592#comment:5> MacPorts </projects/macports> Ports system for Mac OS
#14592: gtk2 refers to libXrandr.2.0.0.dylib -------------------------------+-------------------------------------------- Reporter: alan@clifford.ac | Owner: nox@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: -------------------------------+-------------------------------------------- Comment (by afb@macports.org): Suggested workaround, warn user about their missing system library. (if someone wants to track down what actually uses 2.0.0, go ahead) -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14592#comment:6> MacPorts </projects/macports> Ports system for Mac OS
#14592: gtk2 refers to libXrandr.2.0.0.dylib -------------------------------+-------------------------------------------- Reporter: alan@clifford.ac | Owner: afb@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: -------------------------------+-------------------------------------------- Changes (by nox@macports.org): * owner: nox@macports.org => afb@macports.org Comment: afb: I don't currently have Leopard. Feel free to commit your patch. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14592#comment:7> MacPorts </projects/macports> Ports system for Mac OS
#14592: gtk2 refers to libXrandr.2.0.0.dylib -------------------------------+-------------------------------------------- Reporter: alan@clifford.ac | Owner: afb@macports.org Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: fixed | Keywords: -------------------------------+-------------------------------------------- Changes (by afb@macports.org): * status: new => closed * resolution: => fixed Comment: Replying to [comment:7 nox@macports.org]:
afb: I don't currently have Leopard. Feel free to commit your patch.
Me neither, commiting anyway. (r36189) -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14592#comment:8> MacPorts </projects/macports> Ports system for Mac OS
participants (1)
-
MacPorts