安装MyEclipse时遇到
java: xcb_xlib.c:50: xcb_xlib_unlock: Assertion `c->xlib.lock' failed.错误
解决办法:
[root@localhost software]# export LIBXCB_ALLOW_SLOPPY_LOCK=1
[root@localhost software]# yum --enablerepo=development update libxcb
执行以上两条命令,之后出现:
[root@localhost software]# export LIBXCB_ALLOW_SLOPPY_LOCK=1
[root@localhost software]# yum --enablerepo=development update libxcb
development 100% |=========================| 2.4 kB 00:00
primary.sqlite.bz2 100% |=========================| 6.5 MB 06:44
fedora 100% |=========================| 2.1 kB 00:00
updates 100% |=========================| 2.3 kB 00:00
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package libxcb.i386 0:1.1-4.fc9 set to be updated
--> Finished Dependency Resolution
Dependencies Resolved
=============================================================================
Package Arch Version Repository Size
=============================================================================
Updating:
libxcb i386 1.1-4.fc9 development 124 k
Transaction Summary
=============================================================================
Install 0 Package(s)
Update 1 Package(s)
Remove 0 Package(s)
Total download size: 124 k
Is this ok [y/N]: y
Downloading Packages:
(1/1): libxcb-1.1-4.fc9.i 100% |=========================| 124 kB 00:03
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Updating : libxcb ######################### [1/2]
Cleanup : libxcb ######################### [2/2]
Updated: libxcb.i386 0:1.1-4.fc9
Complete!