Hi Andrew,

This is weird -- it should not have been able to compile and link the
Python interface to igraph without libxml2 at all.

You mentioned that you installed python-igraph from pip -- this almost
surely means that igraph itself was compiled on your machine locally. The
only thing that I can think of right now is that you have libxml2 on your
machine but not libxml2-dev; the latter package is needed to _compile_
packages that link to libxml2. So, I would probably try this:

- ensure that libxml2-dev and pkg-config are both installed
- uninstall python-igraph (either destroy the venv and start from scratch,
or run pip uninstall python-igraph)
- reinstall python-igraph with "pip install python-igraph"

All the best,

T.

On Mon, Jan 23, 2017 at 11:44 AM, Andrew O'Harney <[email protected]> wrote:

> This gives
>
>         linux-vdso.so.1 =>  (0x00007ffdd33b8000)
>         libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f7ce24c5000)
>         libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6
> (0x00007f7ce2143000)
>         libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1
> (0x00007f7ce1f2c000)
>         libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0
> (0x00007f7ce1d0f000)
>         libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f7ce1946000)
>         /lib64/ld-linux-x86-64.so.2 (0x000055e56299f000)
>
> I can't see a mention of libxml there. How can I add it and is there a
> reason it wasn't linked with pip?
>
> -Andy
>
> _______________________________________________
> igraph-help mailing list
> [email protected]
> https://lists.nongnu.org/mailman/listinfo/igraph-help
>
>
_______________________________________________
igraph-help mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/igraph-help

Reply via email to