ubuntu/wireshark -Lua: Error during loading: [string "/usr/share/wireshark/init.lua"]:45有关问题解决

ubuntu/wireshark --Lua: Error during loading: [string "/usr/share/wireshark/init.lua"]:45问题解决

  错误如下:

  

  解决方案:修改init.lua

  直接运行wireshark的话会报错:

  Lua: Error during loading: [string "/usr/share/wireshark/init.lua"]:45: dofile has been disabled

  要对其进行修改,终端运行

  sudo gedit /usr/share/wireshark/init.lua

  倒数第二行原来为:dofile(DATA_DIR.."console.lua")

  改为--dofile(DATA_DIR.."console.lua")

转自:http://www.educity.cn/wenda/351790.html

时间: 2024-10-13 18:34:06

ubuntu/wireshark -Lua: Error during loading: [string "/usr/share/wireshark/init.lua"]:45有关问题解决的相关文章

[RK_2014_0905]ubuntu中,wireshark启动提示:Lua: Error during loading: [string "/usr/share/wireshark/init.lua"]:46: dofile has been disabled

一.问题描述 PC机安装ubuntu14.04,使用root用户登陆. 启动wireshark时,出现一下的Error对话框: Lua: Error during loading: [string "/usr/share/wireshark/init.lua"]:46: dofile has been disabled due to running Wireshark as superuser. 二.解决方法 修改/usr/share/wireshark/init.lua # vi /

【Linux学习之旅】之Ubuntu 14.04下的Wireshark出现Wireshark - Lua: Error during loading...

Lua: Error during loading: [string "/usr/share/wireshark/init.lua"]:46: dofile has been disabled due to running Wireshark as superuser. See http://wiki.wireshark.org/CaptureSetup/CapturePrivileges for help in running Wireshark as an unprivileged

Lua 字符串查找函数 string.find(s, pattern [, init [, plain]] )【转】

函数原型 string.find(s, pattern [, init [, plain]] ) s: 源字符串 pattern: 待搜索模式串 init: 可选, 起始位置 plain: 我没用过 ① 子串匹配: print(string.find("haha", 'ah') ) ----- 输出 2 3 注意: lua 里面数组或者字符串的字符, 其下标索引是从 1 开始, 不是 0 string.find 默认情况下返回两个值, 即查找到的子串的 起止下标, 如果不存在匹配返回

mysql 初始化报错 /usr/local/mysql/bin/mysqld:error while loading shared libraries :libaio.so.1

安装mysql在初始化的时候,出现/usr/local/mysql/bin/mysqld:error while loading shared libraries:libaio.so.1 :cannot open shared object file:NO such file or directory 解决方法: <P>type the following</P> <P>apt-get install libaio1 libaio-dev</P> <P

ubuntu安装caffe 解决:build_release/tools/caffe: error while loading shared libraries: libcudart.so.8.0: cannot open shar

1. 网上有3种解决方式: 1)这是GitHub的解决方法,链接:https://github.com/tensorflow/tensorflow/issues/5343 可以看出,这个方法还是有效的. 2)执行命令: 1 sudo ldconfig /usr/local/cuda/lib64 这个感觉也还可以!!! 3)如果上述两种方法仍然没解决,可以试一试笨办法: 出现此类问题,主要是 /usr/local/lib/目录下找不到libcudart.so.8.0这个文件, 该文件可以在usr/

sysbench: error while loading shared libraries: libmysqlclient.so.18: cannot open shared object file

安装编译完后sysbench后,报错. 报错信息: [[email protected] dongbo]# sysbench -v sysbench: error while loading shared libraries: libmysqlclient.so.18: cannot open shared object file: No such file or directory 解决方法: 1. [[email protected] dongbo]# ls -l /usr/local/my

ffmpeg: error while loading shared libraries: libavdevice.so.57

问题ffmpeg: error while loading shared libraries: libavdevice.so.57: cannot open shared object file: No such file or directory [email protected]:/usr/local/lib$ sudo vi /etc/ld.so.conf 修改如下 include ld.so.conf.d/*.conf/usr/local/ffmpeg/lib       ///usr/

Nginx 启动出错 error while loading shared libraries: libpcre.so.1

在 centos 6.5  64位上编译安装nginx1.63语法检查出错[root @localhost conf]# /usr/local/nginx/sbin/nginx -t /usr/local/nginx/sbin/nginx: error while loading shared libraries: libpcre.so.1: cannot open shared object file: No such file or directory 从错误看出是缺少lib文件导致,进一步

error while loading shared libraries: libluajit-5.1.so.2: cannot open shared 解决办法

一般我们在Linux下执行某些外部程序的时候可能会提示找不到共享库的错误, 比如: tmux: error while loading shared libraries: libevent-1.4.so.2: cannot open shared object file: No such file or directory 原因一般有两个, 一个是操作系统里确实没有包含该共享库(lib*.so.*文件)或者共享库版本不对, 遇到这种情况那就去网上下载并安装上即可. 另外一个原因就是已经安装了该共