解决gdb运行文件报错During startup program exited with code 127.

gdb调试文件,运行提示没有那个文件。

报错During startup program exited with code 127.

查找资料发现是因为文件是32位的,而使用的linux是64位,/lib/ld-linux.so.2 不支持32位文件。

解决方法:sudo apt-get install libc6:i386

参考资料:c++ - gdb During startup program exited with code 127 - Stack Overflow

原文地址:https://www.cnblogs.com/zzwanqi/p/9405565.html

时间: 2024-12-16 09:55:13

解决gdb运行文件报错During startup program exited with code 127.的相关文章

远程服务器使用phantomjs报错:phantomjs unexpectedly exited. Status code was: 127

原因是因为缺少phantomjs运行的依赖包 Ubuntu尝试: sudo apt-get install libfontconfig centos尝试: 用wget安装phantomjs依赖的libfontconfig sudo yum install fontconfig freetype libfreetype.so.6 libfontconfig.so.1 libstdc++.so.6 运行过程中还可能报错没有可执行权限 进入到phantomjs/bin目录下,执行 chmod 777

pytest 运行文件报错

用pytest 执行时报错: Traceback (most recent call last): File "D:\program files\JetBrains\PyCharm Community Edition 2019.2.3\helpers\pycharm\_jb_pytest_runner.py", line 37, in <module> config_result = real_prepare_config(args, plugins_to_load) Fi

selenium运行火狐报错FirefoxDriver : Unable to connect to host 127.0.0.1 on port 7055

摘要: 这是个常见的启动firefoxdriver的问题,具体的错误日志如下,其实原因很简单,就是你的Selenium版本和firefox 不兼容了. Firefox 版本太高了, 请及时查看你安装的firefox版本. 检查你的selenium jar包版本 ... 这是个常见的启动firefoxdriver的问题,具体的错误日志如下,其实原因很简单,就是你的Selenium版本和firefox 不兼容了. Firefox 版本太高了, 请及时查看你安装的firefox版本. 检查你的sele

运行Tomcat报错 解决方法

运行Tomcat报错 解决方法 运行Tomcat控制台报错: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/local/jdk1.6.0_26/jre/lib/i386/server:/usr/local/jdk1.6.0_26/jre/lib/i3

py+selenium+unittest遇到HTMLTestRunner_cn文件报错:ZeroDivisionError: float division by zero【已解决】

问题:遇到HTMLTestRunner_cn文件报错:ZeroDivisionError: float division by zero HTMLTestrunner_cn.py是从网上下的,照理说应该正常,我在其他项目运行时正常的,新建一个项目却报错! 而且还报某参数除数为0!,那他之前的项目是怎么运行的? 如图: 解决方法: 在被调用运行的用例的同目录下,新建一个__init__.py文件,空的就行!即可解决!! 如图例子:runallcase.py调用testbaidusearch.py文

[转]解决IIS下UTF-8文件报错乱码的问题

找了两天才找到解决办法…….晕晕晕...用第二种方法解决了. 网上找到的方法都没有写这一条 If objASPError.ASPDescription > "" Then 后面的回车去掉(这个地方微软写错了) 将这一句后面的<br>注释掉即可! Response.Write Server.HTMLEncode(objASPError.ASPDescription)' & "<br>" 转自:http://blog.csdn.ne

.NET下载文件报错System.UnauthorizedAccessException的解决方法

转自原文.NET下载文件报错System.UnauthorizedAccessException的解决方法 假设VS代码对应路径为E:\Projects\Web1,在VS用“发布Web”的方式发布后的路径为E:\Site\Web1.在IIS新建2个站点,站点A指向E:\Projects\Web1,站点B指向E:\Site\Web1. 现在出现一个异常情况,站点B能正常下载123.xls,站点A下载时却提示错误: System.UnauthorizedAccessException: 对路径“E:

解压tar.gz文件报错gzip: stdin: not in gzip format解决方法

解压tar.gz文件报错gzip: stdin: not in gzip format解决方法 在解压tar.gz文件的时候报错 1 2 3 4 5 [[email protected] Downloads]$ tar -zxvf clion-141.351.4.tar.gz gzip: stdin: not in gzip format tar: Child returned status 1 tar: Error is not recoverable: exiting now 原来原因是这个

eclipse中的js文件报错的解决办法

在使用别人的项目的时候,导入到eclipse中发现js文件报错,解决办法是关闭eclipse的js校验功能. 三个步骤: 1. Eclipse代码   右键点击项目->properties->Validation->Errors/Warming 将Enable Javascript Sematic validation前面的钩子去掉 2.打开.project 文件下面代码去掉 Eclipse代码   <buildCommand> <name>org.eclipse