I don't have any idea. Do you have libstdc++ installed? (I guess yes). For simplicity, have you tried the precompiled static version of graph-tool? Cheers, Andrea On Monday 01 October 2007, Daniel LIU wrote:
Hi Andrea,
I copied the precompiled files in my graph-tool folder (the folder where I unpacked the files into). When I run './graph-tool', I got the error:
dan@dan-ubuntu:~/graph-tool-1.1.2$ ./graph-tool Traceback (most recent call last): File "./graph-tool", line 24, in <module> from libgraph_tool import * ImportError: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by /home/dan/graph-tool-1.1.2/libgraph_tool.so)
I've no idea how to deal with it.
Many thanks!
Dan
<html><DIV><FONT face="Geneva, Arial, Sans-serif" size=2><STRONG><EM>Dan</EM></STRONG></FONT><IMG height=2 src="http://graphics.hotmail.com/greypixel.gif" width="100%" vspace=9></DIV> <DIV><FONT size=1>MIT.Engineering.MelbUni</FONT></DIV> <DIV><FONT size=1>Welcome to my homepage:</FONT></DIV> <DIV><A href="http://www.student.unimelb.edu.au/xiaodanl/"><FONT size=1>http://www.student.unimelb.edu.au/xiaodanl/</FONT></A></DIV> <DIV><A href="http://ariport.unimelb.edu.au/blog/"><FONT size=1>http;//ariport.unimelb.edu.au/blog/</FONT></A></DIV> <DIV> <DIV><FONT size=1>"It is a testament of esteem."</FONT></DIV> <DIV><FONT size=1>"Self-discovery."</FONT></DIV> <DIV><FONT size=1></FONT> </DIV></DIV></html>
From: Andrea Perna <perna@cict.fr> Reply-To: Main discussion list for the graph-tool project<graph-tool@forked.de> To: Main discussion list for the graph-tool project <graph-tool@forked.de> Subject: Re: [graph-tool] how to install the pre-compiled files? Date: Sun, 30 Sep 2007 09:13:13 +0200
Hi Dan, you don't really need to install them. The library can be in any directory in your python module path. However, the simplest thing is to have it in the same directory as graph-tool
Then, if the directory is not in your path, you call the program from inside that directory with ./graph-tool or giving the complete path to that directory
Otherwise you can put the executable and the library in a directory that is in your path (if you type echo $PATH in a terminal window you have the list), for instance you can put both in /home/Dan(or whichever your home dir is)/bin This way you will be able to call the executable with graph-tool, instead of ./graph-tool
If you want them to be accessible to every user you will choose /usr/local/bin (and again you can put the library in this same directory or in a different one as long as the other directory is in the python module path)
At least, this works for me.
Cheers, Andrea
On Sunday 30 September 2007, Dan wrote:
Hi,
I'm thinking to re-install the graph-tool. I've downloaded the
precompiled
files but don't know how to install them. can anyone tell me how?
thanks!
Dan
_______________________________________________ graph-tool mailing list graph-tool@forked.de http://lists.forked.de/mailman/listinfo/graph-tool
_________________________________________________________________ Advertisement: It's simple! Sell your car for just $30 at CarPoint.com.au http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Fsecure%2Dau%2Eimrworldwide% 2Ecom%2Fcgi%2Dbin%2Fa%2Fci%5F450304%2Fet%5F2%2Fcg%5F801459%2Fpi%5F1004813%2F ai%5F859641&_t=762955845&_r=tig_SEP07&_m=EXT
_______________________________________________ graph-tool mailing list graph-tool@forked.de http://lists.forked.de/mailman/listinfo/graph-tool