문제 설명
Eclipse는 자동으로 종료 코드 127을 종료합니다. (Eclipse exits automatically exit code 127)
Eclipse가 자동으로 갑자기 종료되며 그 이유는 플러그인 때문일 수 있습니다. 자동 완성 기능을 원하거나 Eclipse가 이를 시도할 때 종료가 바로 발생합니다.
종료할 때 표시되는 메시지는 다음과 같습니다.
JVM이 종료되었습니다. 종료 코드=127 /opt/jdk1.7.0_79/bin/java ‑Dosgi.requiredJavaVersion=1.6 ‑XX:MaxPermSize=256m ‑Xms40m ‑Xmx512m ‑jar /home/stormdev/Downloads/eclipse//plugins/org.eclipse.equino ‑.launcher_1.3.0.v20140415‑2008.jar ‑os linux ‑ws gtk ‑arch x86_64 ‑showsplash /home/stormdev/Downloads/eclipse//plugins/org.eclipse.platform_4.4.2.v201500204‑17 /home/stormdev/Downloads/eclipse/eclipse ‑name Eclipse ‑‑launcher.library /home/stormdev/Downloads/eclipse//plugins/org.eclipse.equinox. launcher.gtk.linux.x86_64_1.1.200.v20150204‑1316/eclipse_1607.so ‑startup /home/stormdev/Downloads/eclipse//plugins/org.eclipse.equinox.launcher_1.3.0.v201408 ‑‑‑startup appendVmargs ‑exitdata f800f ‑product org.eclipse.epp.package.jee.product ‑vm /opt/jdk1.7.0_79/bin/java ‑vmargs ‑Dosgi.requiredJavaVersion=1.6 ‑XX:MaxPermSize=256m ‑Xms40m ‑Xmx5 /home/stormdev/Downloads/eclipse//plugins/org.eclipse.equinox.launcher_1.3.0.v20140415‑2008.jar
그 이유는 무엇입니까?
centOS에서 Eclipse luna를 사용하고 있습니다. oracle java7 사용.
명령줄에서 Eclipse를 실행하려고 하면 다음 오류가 발생합니다.
/opt/jdk1.7.0_79/bin/java: symbol lookup error : /usr/lib64/libwebkit‑1.0.so.2: 정의되지 않은 기호:
참조 솔루션
방법 1:
Based on this error message:
symbol lookup error: /usr/lib64/libwebkit‑1.0.so.2: undefined symbol: soup_message_set_first_party
What it seems to be saying is that the
libwebkit
shared library can't be loaded because there is an incompatibility with the library that provides thesoup_message_set_first_party
. Based on this link, I'd say the incompatible library islibsoup
.So, it seems as if you have somehow managed to get incompatible versions of libwebkit and libsoup on your system. The copy of libwebkit clearly comes from /usr/lib64, but it would be interesting (and possibly informative) to know where libsoup comes from and what version it is.
On my Fedora 20 system, which works with Eclipse, I have these libraries / symlinks, provided by the package management system. I assume they are compatible, because I don't see the errors that you do when I run Eclipse.
/usr/lib64/libsoup‑gnome‑2.4.so.1.7.0 /usr/lib64/libsoup‑gnome‑2.4.so.1 /usr/lib64/libsoup‑2.4.so.1.7.0 /usr/lib64/libsoup‑2.4.so.1 /usr/lib64/libwebkitgtk‑3.0.so.0 /usr/lib64/libwebkitgtk‑1.0.so.0 /usr/lib64/libwebkitgtk‑1.0.so.0.19.16 /usr/lib64/libwebkitgtk‑3.0.so.0.19.16
UPDATE ‑ After further digging, I don't think my theory above is correct. I can see no obvious dependency between libwebkit and libsoup. (The puzzling thing is that on my system I have libwebkitgtk and not libwebkit. But that might just be because my system is not a clean Fedora / Gnome install. Rather it has had KDE added "after the fast".)
If that theory is incorrect, then the next thing is to see if this is a plugin problem. Backup your existing Eclipse install AND your workspaces, and then install a fresh copy of Luna without any plugins. If that works, then install your plugins one at a time, doing a Eclipse exit + relaunch + test between each one. When you manage to reproduce the problem you have most likely identified the offending plugin. (If you can't reproduce the problem, you have "solved" the problem.)
참조 문서