On 25 Ιαν 2008, at 10:51 ΜΜ, Tiago de Paula Peixoto wrote:
On 01/25/2008 06:48 PM, Spiros Spirou wrote:
I have something called libbz2 in /opt/local/lib. Is this the bzip2 library?
Yes, this is it. Please change -lbzip2 to -lbz2 and try again. Cheers.
OK, here's what I got: /opt/local/bin/i386-apple-darwin8.11.1-gcc-4.2.2 -o .libs/ libgraph_tool.so -bundle .libs/graph.o .libs/ graph_python_interface.o .libs/graph_properties.o .libs/ graph_correlations.o .libs/graph_edge_correlations.o .libs/ graph_correlations_combined.o .libs/ graph_correlations_neighbours.o .libs/graph_assortativity.o .libs/ graph_clustering.o .libs/graph_extended_clustering.o .libs/ graph_generation.o .libs/graph_distance.o .libs/ graph_distance_sampled.o .libs/graph_reciprocity.o .libs/ graph_minimum_spanning_tree.o .libs/graph_community.o .libs/ graph_community_network.o .libs/graph_line_graph.o .libs/ graph_betweenness.o .libs/graph_rewiring.o .libs/graph_layout.o .libs/ graph_io.o .libs/graph_bind.o .libs/graphml.o .libs/ read_graphviz_spirit.o -L/opt/local/lib/ -L/opt/local/lib/python2.5 - lpython2.5 -L/opt/local/lib -lboost_python -lboost_iostreams /opt/ local/lib/libexpat.dylib -lz -lbz2 /opt/local/lib/gcc42/libstdc+ +.dylib -L/opt/local/var/macports/build/ _opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gc c42/work/build/i386-apple-darwin8.11.1/libstdc++-v3/src -L/opt/local/ var/macports/build/ _opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gc c42/work/build/i386-apple-darwin8.11.1/libstdc++-v3/src/.libs -pthread /usr/bin/ld: warning -L: directory name (/opt/local/var/macports/ build/ _opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gc c42/work/build/i386-apple-darwin8.11.1/libstdc++-v3/src) does not exist /usr/bin/ld: warning -L: directory name (/opt/local/var/macports/ build/ _opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gc c42/work/build/i386-apple-darwin8.11.1/libstdc++-v3/src/.libs) does not exist /usr/bin/ld: Undefined symbols: __Unwind_Resume collect2: ld returned 1 exit status S.