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

libxml2-dev is a dependency that is missing for the .deb package #6003

Closed
evandrojr opened this issue Apr 25, 2018 · 3 comments
Closed

libxml2-dev is a dependency that is missing for the .deb package #6003

evandrojr opened this issue Apr 25, 2018 · 3 comments

Comments

@evandrojr
Copy link

crystal spec command throws this error:

 crystal spec
/usr/bin/ld: cannot find -lxml2
collect2: error: ld returned 1 exit status
Error: execution of command failed with code: 1: `cc "${@}" -o '/home/j/.cache/crystal/crystal-run-spec.tmp'  -rdynamic  -lxml2 -lpcre -lm -lgc -lpthread /usr/share/crystal/src/ext/libcrystal.a -levent -lrt -ldl -L/usr/lib -L/usr/local/lib`

After the installation of libxml2-dev it works

I guess it a missing dependency

@evandrojr evandrojr changed the title libxml2-dev is a depedency that is missing for the .deb packeage libxml2-dev is a depedency that is missing for the .deb package Apr 25, 2018
@bararchy
Copy link
Contributor

If crystal spec needs libxml2-dev then it should be added to the deb package as dependency

@evandrojr evandrojr changed the title libxml2-dev is a depedency that is missing for the .deb package libxml2-dev is a dependency that is missing for the .deb package Apr 25, 2018
@straight-shoota
Copy link
Member

The proposed solution is to actually remove the dependency. Duplicate of #5662

@bararchy
Copy link
Contributor

Yeha it's a duplicate, @evandrojr we can close this issue and follow up at #5662

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

No branches or pull requests

4 participants