Skip to content

[Bug]: latx-x86_64: Could not open '/lib64/ld-linux-x86-64.so.2': No such file or directory #347

Open

Description

@aspenyoung

Bug Description / 错误描述

运行提示错误latx-x86_64: Could not open '/lib64/ld-linux-x86-64.so.2': No such file or directory
目标x86程序为jdk-21.0.12+8/bin/java : OpenJDK21-x64-21.0.12.8

Environment Information / 环境信息

OS:Loongnix Desktop 25.1.RC2
操作系统: [例如:龙芯操作系统等]

Kernel Version: [e.g., 5.4.0, etc.]
Linux 内核版本: [例如:5.4.0等]

GCC Version: [e.g., 9.3.0, etc.]
GCC 版本: [例如:9.3.0等]

GLIBC Version: [e.g., 2.31, etc.]
GLIBC 版本: [例如:2.31等]

**LAT Version / lat-x86_64 1.6.4

LAT 版本号 / 提交 Hash: [例如:1.6.0, abc1234等]
a硬件: 3A5000M

Steps to Reproduce / 重现步骤

Describe the issue in detail
详细描述问题

Software Information (e.g., name, version, configuration, etc.)
使用的软件信息(例如:名称、版本、配置等)

Expected Behavior / 预期行为

No response

Actual Behavior / 实际行为

No response

Screenshots or Logs / 截图或日志

No response

Severity / 严重性

Critical / 严重

Additional Information / 附加信息

No response

Activity

  1. added
    bug
    on Jul 26, 2026
  2. LaurenIsACoder commented on Aug 3, 2026

    @LaurenIsACoder
    Contributor

    你好,这个报错表示 LAT 没有在当前 x86_64 运行时目录中找到动态加载器 /lib64/ld-linux-x86-64.so.2,通常不是 JDK 本身的问题。类似情况见 #221。

    麻烦提供以下命令的完整输出:

    readelf -l jdk-21.0.12+8/bin/java | grep interpreter
    printf 'LAT_LD_PREFIX=%s\n' "${LAT_LD_PREFIX:-<unset>}"
    
    find /usr/gnemul -path '*/lib64/ld-linux-x86-64.so.2' -ls 2>/dev/null
    
    ls -ld /usr/gnemul/lat-x86_64 /usr/gnemul/latx-x86_64 2>&1

    同时请确认系统是否安装了 x86 运行时包,例如 i386-runtime-base、i386-runtime-extra(不同系统中的包名可能略有差异)。

    如果找不到 ld-linux-x86-64.so.2,说明 x86 运行时未完整安装;如果该文件存在,但只位于另一个运行时目录,则可能是新旧世界 LAT 包与运行时前缀不匹配。拿到以上输出后我们再进一步确认。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions