For the record: we have managed to solve the issue. The problem was that there was another copy of libxml2 installed on the system in /usr/local/lib, and this was somehow unsuitable for dynamic linking. Removing the extra copy of libxml2 fixed the problem.
T. On Wed, Jan 25, 2017 at 10:33 AM, Tamas Nepusz <[email protected]> wrote: > Hi Andrew, > > Can you post me (in private) the full install log of "pip install > python-igraph" when starting from scratch? You can get the install log with > the following command: > > pip install python-igraph 2>&1 >pip.log > > Thanks, > > T. > > On Wed, Jan 25, 2017 at 10:00 AM, Andrew O'Harney <[email protected]> > wrote: > >> I gave that ago, but to no avail. I'm at a bit of a loss as to what could >> be going on. >> ᐧ >> >> On 23 January 2017 at 20:40, Tamas Nepusz <[email protected]> wrote: >> >>> 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 >>> >>> >> >> _______________________________________________ >> 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
