【发布时间】:2015-09-21 07:08:53
【问题描述】:
我刚刚尝试从语言文档中运行简单的 HTTP 服务器。程序因错误而失败。
/usr/bin/ld: cannot find -lssl
collect2: error: ld returned 1 exit status
Error: execution of command failed with code: 1: `cc -o "/home/rasmus/dev/crystal/projects/hello/.crystal/crystal-run-hello.tmp" "${@}" -rdynamic -lssl -levent -lrt -lpcl -lpcre -lgc -lpthread -ldl`
程序已从the documentation复制粘贴。
我可以确认程序确实/确实在我的访客机器上运行,但不在我的主机上。两者都是 Ubuntu 14.04.3 安装。
【问题讨论】:
标签: crystal-lang