The undefined symbol is coming from the standard c++ library, so maybe you don't have that installed? Strange, because I would assume that installing g++ installs that, too. Anyway, please check that you have that installed. You can query the compiler version that was used to build R with
R CMD config CC R CMD config CXX Then install the corresponding C++ library (dev files). E.g. if your gcc version is 4.7, then install the libstdc++6-4.7-dev ubuntu package. If R CMD config does not print a version number, only 'gcc blah-blah', then do gcc --version and that will print a version number. I hope this helps, let me know if not, and I'll try it on ubuntu 12.10. Best, Gabor On Fri, Nov 15, 2013 at 10:36 AM, Hollander, Mattias de <[email protected]> wrote: > Hi, > > I am using Ubuntu 12.10. And I am able to install other C/C++ packages > like sna or bigmemory. I attached the log file of the compilation. Maybe > this helps. I also tried to run R CMD SHLIB on the src directory of > igraph and that also works fine. But I don't know how to further build > the igraph.so manually. > > Mattias > > On 11/15/2013 04:05 PM, Gábor Csárdi wrote: >> Which version of Ubuntu? Can you install other R packages that have >> C/C++ source code? E.g. can you install the 'sna' and the 'bigmemory' >> packages? (Or anything else that has C or C++ code in it.) >> >> Gabor >> >> On Fri, Nov 15, 2013 at 9:48 AM, Hollander, Mattias de >> <[email protected]> wrote: >>> Hi Gabor Csardi, >>> >>> I tried the install.packages() command directly in R as well. Both as >>> normal user and as root. But it gives me the same error. Also >>> downloading the 6.6 source and then compiling ends with the same error. >>> Any idea how I can check if the compiler versions are different? I >>> installed R on Ubuntu using the apt-get package manager. >>> >>> Thanks, >>> >>> Mattias >>> > _______________________________________________ igraph-help mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/igraph-help
