我在 Ubuntu 12.10 64 位上设置 RTC。我的 RTC 和 JDK7 也是 64 位版本。每当我尝试使用 RTC 交付代码时,都会出现错误:
Error logged from Process Client UI:
No more handles [MOZILLA_FIVE_HOME='/opt/xulrunner/'] (java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons:
/opt/IBM/TeamConcert/configuration/org.eclipse.osgi/bundles/613/1/.cp/libswt-mozilla-gtk-3659.so (libxpcom.so: cannot open shared object file: No such file or directory)
swt-mozilla-gtk (Not found in java.library.path)
/tmp/swtlib-64/libswt-mozilla-gtk-3659.so (libxpcom.so: cannot open shared object file: No such file or directory)
/tmp/swtlib-64/libswt-mozilla-gtk.so (/tmp/swtlib-64/liblibswt-mozilla-gtk.so.so: cannot open shared object file: No such file or directory)
)
我在我的系统上运行了这个:
$ ldd libswt-mozilla-gtk-3659.so
linux-vdso.so.1 => (0x00007ffff5bff000)
libxpcom.so => not found
libnspr4.so => /usr/lib/x86_64-linux-gnu/libnspr4.so (0x00007ffc49b3e000)
libplds4.so => /usr/lib/x86_64-linux-gnu/libplds4.so (0x00007ffc49939000)
libplc4.so => /usr/lib/x86_64-linux-gnu/libplc4.so (0x00007ffc49734000)
libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007ffc49431000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007ffc49134000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007ffc48f1e000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007ffc48b5f000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007ffc48941000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007ffc4873d000)
librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007ffc48535000)
/lib64/ld-linux-x86-64.so.2 (0x00007ffc49eb6000)