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就不会报错了

    懒惰不会让你一下子跌到 但会在不知不觉中减少你的收获; 勤奋也不会让你一夜成功 但会在不知不觉中积累你的成果 越努力,越幸运。
  • 相关阅读:
    文摘
    Maximal Square leetcode
    Majority Element II
    Merge k Sorted Lists leetcode
    学习方法-暗时间
    4sum leetcode
    valid parentheses
    两道考研算法设计题- 2010 2013
    regular expression matching DP
    valid sudoku leetcode
  • 原文地址:https://www.cnblogs.com/Rainingday/p/7250899.html
Copyright © 2011-2022 走看看