Hi,

Please try this:

$ ldd /home/ubuntu/djangoproject/env/lib/python3.5/site-packages/i
graph/_igraph*.so

This should tell you which libraries _igraph.so is trying to link to; in my
case, it includes a line like this:

libxml2.so.2 => /usr/lib/x86_64-linux-gnu/libxml2.so.2

If you have a line like the one above, check the .so file that it refers to
and verify that it exists and is not a dangling symlink.


T.

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

> From fresh the commands were:
>
> virtualenv -p python3
> source env/bin/activate
> pip install python-igraph==0.7.1.post6
>
> On 23 January 2017 at 10:17, Tamas Nepusz <[email protected]> wrote:
>
>> How did you install the Python interface for igraph? Is this a
>> pre-compiled package that you have downloaded from somewhere, or did you
>> compile the Python interface on your own? It could be the case that the
>> Python interface is trying to link to a different version of libxml2 than
>> the one on your system.
>>
>> T.
>>
>> On Mon, Jan 23, 2017 at 11:15 AM, Andrew O'Harney <[email protected]>
>> wrote:
>>
>>> I believe it is.
>>> apt-get install libxml2 gives:
>>> libxml2 is already the newest version (2.9.3+dfsg1-1ubuntu0.1).
>>>
>>> On 23 January 2017 at 10:10, Gábor Csárdi <[email protected]>
>>> wrote:
>>>
>>>> I think the libxml2 package is not installed on your system.
>>>>
>>>> G.
>>>>
>>>> On Mon, Jan 23, 2017 at 10:09 AM, Andrew O'Harney <[email protected]>
>>>> wrote:
>>>>
>>>>> I am trying to import igraph.Graph in python 3.5.0 on Ubuntu 16.04.1
>>>>> LT however get the following error:
>>>>>
>>>>> from igraph._igraph import *
>>>>>
>>>>> ImportError: /home/ubuntu/djangoproject/env
>>>>> /lib/python3.5/site-packages/igraph/_igraph.cpython-35m-x86_
>>>>> 64-linux-gnu.so: undefined symbol: xmlStrEqual
>>>>>
>>>>> I am using a virtualenv and the requirement is
>>>>> python-igraph==0.7.1.post6
>>>>>
>>>>> Does anyone have an idea how this can be resolved?
>>>>>
>>>>> Thanks,
>>>>> 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
>>
>>
>
> _______________________________________________
> 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