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

xml - Extract substrings with XSLT -

math - "ELO Rating" and how does "TSR Rating" work? -

How can do a tuple comparison in coffeescript similar to that in python? -