zoukankan      html  css  js  c++  java
  • 使用make_ext4fs时报错,No such file or directory

    make_ext4fs: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
    一般出现该错误是由于应用程序是32位导致的,可以使用file命令来查看:
    root@ubuntu:/usr/local/bin# file make_ext4fs
    make_ext4fs: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.8, stripped
    可以从上面看到make_ext4fs为32位程序,所以我们需要让64位机支持运行32位应用。
    执行下面两条命令即可解决问题:
    apt-get install lib32c-dev
    apt-get install lib32stdc++6
    再运行make_ext4fs就不会报错了

    懒惰不会让你一下子跌到 但会在不知不觉中减少你的收获; 勤奋也不会让你一夜成功 但会在不知不觉中积累你的成果 越努力,越幸运。
  • 相关阅读:
    性能百万/s:腾讯轻量级全局流控方案详解
    Swagger2
    shiro 入门
    01、单例模式
    02、工厂方法
    04、模板模式
    13、Adapter 适配器
    14、迭代器
    Java 面向切面 AOP
    spring boot 中使用 Redis 与 Log
  • 原文地址:https://www.cnblogs.com/Rainingday/p/7250899.html
Copyright © 2011-2022 走看看