igraph-help
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [igraph] install error with python-igraph 0.6


From: Tamas Nepusz
Subject: Re: [igraph] install error with python-igraph 0.6
Date: Wed, 7 Jul 2010 22:56:38 +0100

Hi,

Have you added /home/username/opt/lib into your LD_LIBRARY_PATH? If not, try 
this:

$ LD_LIBRARY_PATH=/home/username/opt/lib python -m igraph.test.__init__

If this works, then you have to set LD_LIBRARY_PATH permanently in your .bashrc.

-- 
Tamas

On 2010.07.07., at 22:52, Arun wrote:

> Greetings,
> 
> I'm trying to install igraph 0.6 and python-igraph 0.6 LOCALLY (under
> a particular user's home directory) on Ubuntu 10.04.  I have installed
> igraph (C library) seemingly with no problem under:
> /home/username/opt (where username is my user).
> 
> I have installed python 2.6.5 locally under /home/username/opt.
> 
> Finally, I have installed python-igraph locally using the LOCAL
> installation of python mentioned above by modifying the setup.py as
> follows:
> LIBIGRAPH_FALLBACK_INCLUDE_DIRS = ['/home/username/opt/include']
> LIBIGRAPH_FALLBACK_LIBRARIES = ['/home/username/opt/lib']
> LIBIGRAPH_FALLBACK_LIBRARY_DIRS = ['/home/username/opt/lib']
> 
> This approach seemed to have worked for me in the past when doing a
> local install of 0.53.  But, when attempting to use python-igraph
> here, I receive this error when importing igraph module:
> 
> address@hidden ~ $ python
> Python 2.6.5 (r265:79063, Jul  7 2010, 16:31:12)
> [GCC 4.4.3] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
>>>> import igraph
> Traceback (most recent call last):
>  File "<stdin>", line 1, in <module>
>  File "/home/username/opt/lib/python2.6/site-packages/igraph/__init__.py",
> line 34, in <module>
>    from igraph.core import *
> ImportError: /home/username/opt/lib/python2.6/site-packages/igraph/core.so:
> undefined symbol: igraph_vit_destroy
> 
> Could someone let me know how to fix and get it working?
> 
> Thanks.
> 
> P.S. I used
> igraph-nightly-0.6-2008-20100701.tar.gz
> python-igraph_nightly_0.6-2012-20100704.tar.gz
> 
> _______________________________________________
> igraph-help mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/igraph-help




reply via email to

[Prev in Thread] Current Thread [Next in Thread]