I'm trying to compile the lib https://github.com/bjz/gl-rs.
I'm getting an error when running make:
error: linking with `cc` failed: exit code: 1
(a long list of linker args follows)
note: /usr/bin/ld: cannot find -lxml2
If I'm reading this right, the linker cannot find the lib xml2. I made sure xml2 and libxml2 are installed (via sudo apt-get install) but that's not enough.
What to do?
libxml2-dev
or justlibxml2
? usually it is the-dev
package that provides the libraries and headers required for building