Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PCRE-Lib is missing on Ubuntu #29

Open
kronn opened this issue Mar 26, 2020 · 4 comments
Open

PCRE-Lib is missing on Ubuntu #29

kronn opened this issue Mar 26, 2020 · 4 comments

Comments

@kronn
Copy link

kronn commented Mar 26, 2020

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.

@smorimoto
Copy link
Member

@kronn I'm not an Ubuntu user, so I haven't tried, but have you installed libpcre3-dev?

@rjurado01
Copy link

I fix it with: sudo apt-get install libevent-dev

@aisrael
Copy link

aisrael commented May 30, 2023

FWIW, sudo apt-get install libpcre3-dev worked for me on Ubuntu 22.04.2

@kronn
Copy link
Author

kronn commented Jun 4, 2023

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?
😘

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

4 participants