当前位置: 技术问答>linux和unix
求救:relocation error:symbol_ pure_virtual_: referenced symbol not found?急!急!
来源: 互联网 发布时间:2015-06-03
本文导语: 我在solaris9上安装了一个VTK4.2软件 and built it with Java 1.4.0.3.But when I tried run the SimpleVTK test, I got the following error: Exception in thread "main" java.lang.UnsatisfiedLinkError: /home/songhua/VTK/bin/libvtkCommonJava.so:ld.so.1: java: f...
我在solaris9上安装了一个VTK4.2软件 and built it with Java 1.4.0.3.But when I tried run the SimpleVTK test, I got the following error:
Exception in thread "main" java.lang.UnsatisfiedLinkError:
/home/songhua/VTK/bin/libvtkCommonJava.so:ld.so.1: java: fatal: relocation error:file/home/songhua/VTK/bin/libvtkCommonJava.so: symbol _pure_virtual: referenced symbol not found
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1480)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1404)
at java.lang.Runtime.loadLibrary0(Runtime.java:772)
at java.lang.System.loadLibrary(System.java:832)
at vtk.vtkPanel.(vtkPanel.java:24)
at SimpleVTK.(SimpleVTK.java:19)
at SimpleVTK.main(SimpleVTK.java:49)
c compiler that Ispecified for CMake to use is is gcc and c++ compiler is c++,这个问题快急死我了,求各位高手一定帮我解决了。谢谢!!
Exception in thread "main" java.lang.UnsatisfiedLinkError:
/home/songhua/VTK/bin/libvtkCommonJava.so:ld.so.1: java: fatal: relocation error:file/home/songhua/VTK/bin/libvtkCommonJava.so: symbol _pure_virtual: referenced symbol not found
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1480)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1404)
at java.lang.Runtime.loadLibrary0(Runtime.java:772)
at java.lang.System.loadLibrary(System.java:832)
at vtk.vtkPanel.(vtkPanel.java:24)
at SimpleVTK.(SimpleVTK.java:19)
at SimpleVTK.main(SimpleVTK.java:49)
c compiler that Ispecified for CMake to use is is gcc and c++ compiler is c++,这个问题快急死我了,求各位高手一定帮我解决了。谢谢!!
|
应该锁定路经问题,从这个思路解决