asdf-crystal
asdf-crystal copied to clipboard
PCRE-Lib is missing on Ubuntu
I am running Ubuntu 18.04 and installed crystal 0.33.0 via asdf. I seemingly installed fine, crystal --help
ran fine. However, compiling a crystal-file led to complaints about "libpcre" missing.
I removed the asdf-installed version and installed the official/upstream package. This works as advertised. I would like to switch to an asdf-managed version, but am currently blocked.
There may be other depdencies missing, which were shadowed by this error.
@kronn I'm not an Ubuntu user, so I haven't tried, but have you installed libpcre3-dev
?
I fix it with: sudo apt-get install libevent-dev
FWIW, sudo apt-get install libpcre3-dev
worked for me on Ubuntu 22.04.2
I think my point is: I would expect asdf to manage those dependencies for me. At the very least, I'd like to be informed which libraries are missing.
And yes, of course I can just install these dependencies manually. IIRC, dependencies for other tools or languages are installed automatically. And I realize that this might leave a messy system behind in case I ever want to remove things. Personally, I am fine with this.
Am I understanding the use-case wrong? Am I the problem here? :kissing_heart: