igraph-help
[Top][All Lists]
Advanced

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

Re: [igraph] Problem installing igraph via R on FreeBSD 7.3 SOLVED


From: Gábor Csárdi
Subject: Re: [igraph] Problem installing igraph via R on FreeBSD 7.3 SOLVED
Date: Fri, 2 Jul 2010 16:30:12 +0200

Jim,

the help said environment variables, why didn't you try that? Or you
did and it didn't work, either? I mean

export CC=gcc42
export CXX=g++42
export CPP=cpp42
R CMD INSTALL igraph_0.5.3.tar.gz

Best,
Gabor

On Fri, Jul 2, 2010 at 4:21 PM, jim smith N0OCT <address@hidden> wrote:
[...]
>> R CMD INSTALL --configure-args="--help" igraph
>>
>> Some influential environment variables:
>>   CC          C compiler command
>>   CFLAGS      C compiler flags
[...]
>
> So I did this:
>
> sudo R CMD INSTALL --configure-args="CC=gcc42 CXX=g++42 CPP=cpp42"  
> igraph_0.5.3.tar.gz
>
> . . .and it gets through the configure phase OK, with gcc42, g++42 and cpp42 
> being specified.  Once it appears that configuration is complete it starts 
> into this:
>
>
> ** libs
> g++44 -I/usr/local/lib/R/include  -I/usr/local/include   -DUSING_R -fpic  -O2 
> -fno-strict-aliasing -pipe -Wl,-rpath=/usr/local/lib/gcc44 -c DensityGrid.cpp 
> -o DensityGrid.o
>
>
> . . .and continues to build with gcc44.  When  I start R and try to load the 
> igraph library, this is the error I get:
>
>
>> library('igraph')
> Error in dyn.load(file, DLLpath = DLLpath, ...) :
>  unable to load shared library 
> '/usr/local/lib/R/library/igraph/libs/igraph.so':
>  /usr/local/lib/R/library/igraph/libs/igraph.so: Undefined symbol 
> "_ZNKSt5ctypeIcE13_M_widen_initEv"
> Error : .onLoad failed in 'loadNamespace' for 'igraph'
> Error: package/namespace load failed for 'igraph'
>
>
> I do appreciate all your help and quick responses, but I think I'm wasting  
> your time with basic C/C++ programming stuff that I just don't know.
>
>
> --
> jim smith N0OCT <address@hidden>
>
> _______________________________________________
> igraph-help mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/igraph-help
>



-- 
Gabor Csardi <address@hidden>     UNIL DGM



reply via email to

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