我在 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/