找不到/lib64/ld-linux-x86-64.so.2

标签 c linux sockets solaris lib

我在 LINUX 系统(Ubuntu 16.04 服务器)中编写了一个简单的套接字代理程序。

当我在 Solaris 中运行这个程序时,出现以下错误:

Cannot find /lib64/ld-linux-x86-64.so.2

这个列表是我包含的。

#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include <arpa/inet.h>
#include <sys/types.h>
#include <sys/socket.h>

为什么会这样?请让我知道......

最佳答案

Solaris 不是 Linux。系统库很可能位于不同的位置。您将需要在 Solaris 上重新编译您的程序。

关于找不到/lib64/ld-linux-x86-64.so.2,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50482186/

相关文章:

c - 查找 char 参数的大小

linux - 在 Linux 中运行 megasync 的多个实例

sockets - 在域模式下部署不适用于 Wildfly

c - malloc 返回 0x100000000

c - scanf() 中不同数量的元素

c - int的未知系统位大小,如何创建掩码

Linux 参数脚本

linux - 如何阻止来自除子网 ip 之外的所有端口的所有传入流量

c - 访问内存并更改某些变量的值

c++ - boost::asio::async_connect 不仅创建了一个 TCP 连接,还创建了两个