View Single Post
  #6   (View Single Post)  
Old 10th April 2009
AncientDragonfly's Avatar
AncientDragonfly AncientDragonfly is offline
not quite new user
Join Date: Apr 2009
Posts: 25

Originally Posted by robbak View Post
OK. the next step may be to rebuild things directly depending on libxcb. It may be a version thing. Note that fixing things like this becomes alot easier if you use one of the port management tools: I think I wold recommend portmaster , although portupgrade is more mature. Both of them allow you to do things like 'portupgrade -r [portname] to upgrade everything dependent on the port with one command, and several hours <g>. Install your choice, and check theman page for the syntax. Both products man pages have comprehensive examples.
I have them both installed; I used portupgrade on the previous system, but switched to portmaster after reading glowing reviews of it, probably as a lurker on this forum.
More usefull info after a bit of searching: It is a version error: libxcb is now version 2, and installs As a hack, sometimes softlinking the missing library entry to the existing one functions (ln -s /usr/local/lib/ /usr/local/lib/, but it is not a fix - merely a short-term workaround until you have fixed the problem.
Now that you say that, I remember doing that for a problem library when I was using Gentoo.
from what I can see, though, a proper clean, deinstall and reinstall of libxcb should fix it - the problem is between two parts of the libxcb port.
cd /usr/ports/x11/libxcb
make clean
make build deinstall reinstall
Should fix it.
[root@wampus: /usr/ports/editors/nano/]# cd /usr/ports/x11/libxcb
[root@wampus: /usr/ports/x11/libxcb/]# make clean
===>  Cleaning for libxcb-1.2_1
[root@wampus: /usr/ports/x11/libxcb/]# make build deinstall reinstall
===>  Extracting for libxcb-1.2_1
=> MD5 Checksum OK for libxcb-1.2.tar.bz2.
=> SHA256 Checksum OK for libxcb-1.2.tar.bz2.
===>  Patching for libxcb-1.2_1
===>  Applying FreeBSD patches for libxcb-1.2_1
===>   Running ldconfig
/sbin/ldconfig -m /usr/local/lib
===>   Registering installation for libxcb-1.2_1
lrwxr-xr-x  1 root  wheel      11 Apr 10 07:40 /usr/local/lib/ ->
-rwxr-xr-x  1 root  wheel  123179 Apr 10 07:40 /usr/local/lib/ is installed. How do I get the programs that are looking for to use instead, without resorting to the workaround you mentioned above (because I'd rather have a real fix)?

I think I understand what "make deinstall reinstall" does. What does "make build deinstall reinstall," that is, adding "build," do?
Reply With Quote