What port contains libxcb.so.2, and hoow could I figure this out?
One of my machines is suddenly complaining that it can't find libxcb.so.2. This is probably an issue related to a recent attempt to update the software on this machine, so I figured I'd just rebuild the port that provides this library, but I can't figure out how to determine which on that would be. I have the feeling that I should be able to use pkg_info for this, but I can't seem to figure out how to accomplish this. Is this the right tool? If so, how do I use it for this, if not, what is the correct tool? Thanks. -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: What port contains libxcb.so.2, and hoow could I figure this out?
On Tue, Dec 29, 2009 at 8:08 AM, stan st...@panix.com wrote: One of my machines is suddenly complaining that it can't find libxcb.so.2. This is probably an issue related to a recent attempt to update the software on this machine, so I figured I'd just rebuild the port that provides this library, but I can't figure out how to determine which on that would be. I have the feeling that I should be able to use pkg_info for this, but I can't seem to figure out how to accomplish this. Is this the right tool? If so, how do I use it for this, if not, what is the correct tool? Thanks. it# pkg_info -W /usr/local/lib/libxcb.so.2 /usr/local/lib/libxcb.so.2 was installed by package libxcb-1.5 -- Adam Vande More ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: What port contains libxcb.so.2, and hoow could I figure this out?
On Tue, Dec 29, 2009 at 08:33:41AM -0600, Adam Vande More wrote: On Tue, Dec 29, 2009 at 8:08 AM, stan st...@panix.com wrote: One of my machines is suddenly complaining that it can't find libxcb.so.2. This is probably an issue related to a recent attempt to update the software on this machine, so I figured I'd just rebuild the port that provides this library, but I can't figure out how to determine which on that would be. I have the feeling that I should be able to use pkg_info for this, but I can't seem to figure out how to accomplish this. Is this the right tool? If so, how do I use it for this, if not, what is the correct tool? Thanks. it# pkg_info -W /usr/local/lib/libxcb.so.2 /usr/local/lib/libxcb.so.2 was installed by package libxcb-1.5 Thanks, I missed the -W switch when I scaned the man page. -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: What port contains libxcb.so.2, and hoow could I figure this out?
On Tue, 29 Dec 2009, stan wrote: One of my machines is suddenly complaining that it can't find libxcb.so.2. This is probably an issue related to a recent attempt to update the software on this machine, so I figured I'd just rebuild the port that provides this library, but I can't figure out how to determine which on that would be. I have the feeling that I should be able to use pkg_info for this, but I can't seem to figure out how to accomplish this. Is this the right tool? If so, how do I use it for this, if not, what is the correct tool? pkg_which will do it if you can provide the full path to the missing file. Which is easy if you already have the file installed and can find the full path (locate libxcb.so.2), but not so easy if it's missing. Sometimes, a simple whereis will help: % whereis libxcb libxcb: /usr/ports/x11/libxcb If the port is missing or outdated, pkgdb -F ought to let you install it. And of course there's always crushing brute force: % find /usr/ports -name pkg-plist -exec grep libxcb.so.2 {} + /usr/ports/x11/libxcb/pkg-plist:lib/libxcb.so.2 -Warren Block * Rapid City, South Dakota USA ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org