应该是缺少openssl-dev之类的头文件,不用ubuntu,所以不知道具体名称,你可以apt-cache search openssl,查看输出内容,寻找类似openssl-dev的包安装 。因为ubuntu的包一般只包括运行文件,编译用的头文件是单独打包的。