Crystal build fails with linker error -


i've tried run simple http server language documentation. program fails error.

/usr/bin/ld: cannot find -lssl collect2: error: ld returned 1 exit status error: execution of command failed 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 program has been copy-pasted the documentation.

i can confirm program did/does run on guest machine, not on host. both ubuntu 14.04.3 installs.

the problem ssl libraries weren't installed. if have same problem can simple run sudo apt-get install libssl-dev. should install needed fix error.


Comments

Popular posts from this blog

java - Date formats difference between yyyy-MM-dd'T'HH:mm:ss and yyyy-MM-dd'T'HH:mm:ssXXX -

c# - Get rid of xmlns attribute when adding node to existing xml -