安装skyeye

    一直很想尝试下在开发版上捣鼓些东西,可是迫于出差等各种纠结,没有如愿。

    后来发现了skyeye,感觉正好是解决了我当前的问题,于是立马下载了相关版本。

    目前最新skyeye版本应该是skyeye-1.3.5_rc1.tar.bz2。

    使用的是ubuntu10.04

    在安装过程中会出现一些错误,但是基本都是没有安装相关软件导致的。根据error提示,安装相关软件即可。

    如果出现如下错误,请按照如下方法解决:

    在ubuntu10.04中,make skyeye 1.3.5时,出现/usr/bin/ld: cannot find -lltdl,但是ldconfig -p |grep ltdl时发现,libltdl.so.7是存在的,通过查询相关资料
    使用如下方法解决:
    那么可以通过ln -sv libltdl.so.7 libltdl.so,建立一个连接重建libltdl.so

扫描二维码关注公众号,回复: 1426314 查看本文章

    但是在ubuntu10.04下安装skyeye-1.3.5_rc1.tar.bz2,可以参照如下博客进行安装:

    http://limssb.blog.163.com/blog/static/1473043720125952430146/

    可是在运行skyeye过程中,出现了如下问题,虽然按照以上博客重新安装了,成功了。但是还是不知道为什么会出下如下问题:

yangmj@yangmj:/usr/bin$ skyeye
SkyEye 1.3.5
SkyEye is an Open Source project under GPL. All rights of different parts or modules are reserved by their author. Any modification or redistributions of SkyEye should not remove or modify the annoucement of SkyEye copyright.
Get more information about it, please visit the homepage http://www.skyeye.org.
Type "help" to get command list.
 Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/opt/skyeye/bin/skyeye_cli.py", line 4, in <module>
    from skyeye_common_module import *
  File "/opt/skyeye/bin/skyeye_common_module.py", line 3, in <module>
    from ctypes import *
  File "/usr/lib/python2.6/ctypes/__init__.py", line 10, in <module>
    from _ctypes import Union, Structure, Array
ImportError: /usr/lib/python2.6/lib-dynload/_ctypes.so: undefined symbol: PyType_GenericNew

 

    虽然在网上查了相关资料,在博客http://3427850.blog.51cto.com/3417850/1077262中,该作者也出现了相关问题,他是通过重装python解决的,但是我的这种情况我根本就没有重装python,只是按照博客http://limssb.blog.163.com/blog/static/1473043720125952430146/中的步骤重新走了一遍,skyeye就可以成功运行了。

 

    如果有高手知道该问题的方法,希望告知。

 

猜你喜欢

转载自blog.csdn.net/ymj7150697/article/details/9148727
今日推荐