zoukankan      html  css  js  c++  java
  • linux 修改 elf 文件的dynamic linker 和 rpath

    linux 修改 elf 文件的dynamic linker 和 rpath

    https://nixos.org/patchelf.html

    下载地址

    https://nixos.org/releases/patchelf/patchelf-0.9/patchelf-0.9.tar.gz

    https://nixos.org/releases/patchelf/patchelf-0.9/patchelf-0.9.tar.bz2

    $ ./patchelf --help
    syntax: ./patchelf
      [--set-interpreter FILENAME]
      [--page-size SIZE]
      [--print-interpreter]
      [--print-soname]		Prints 'DT_SONAME' entry of .dynamic section. Raises an error if DT_SONAME doesn't exist
      [--set-soname SONAME]		Sets 'DT_SONAME' entry to SONAME.
      [--set-rpath RPATH]
      [--remove-rpath]
      [--shrink-rpath]
      [--print-rpath]
      [--force-rpath]
      [--add-needed LIBRARY]
      [--remove-needed LIBRARY]
      [--replace-needed LIBRARY NEW_LIBRARY]
      [--print-needed]
      [--no-default-lib]
      [--debug]
      [--version]
      FILENAME

    ================= End

  • 相关阅读:
    柱状图、折线图示例
    idea一定要做的配置
    分布式之数据库和缓存双写一致性方案解析
    Spring Boot 升级所遇到的坑们s 1.5.x升级到2.1.x
    快捷使用Node Inspector调试NodeJS
    TFS build server搭建,搭建自动化构建服务器
    Log4net快速配置使用指南。(快速搭建log4net日志平台手册)
    Windows下搭建Git 服务器: BONOBO GIT SERVER + TortoiseGit
    Mysql服务启动失败 [Server] I/O error reading the header from the binary log.
    IntelliJ IDEA中文乱码解决方案,修改完配置一定要rebuild才能生效
  • 原文地址:https://www.cnblogs.com/lsgxeva/p/9645928.html
Copyright © 2011-2022 走看看