From simon.urbanek at r-project.org  Fri Jun  8 16:22:27 2012
From: simon.urbanek at r-project.org (Simon Urbanek)
Date: Fri, 8 Jun 2012 10:22:27 -0400
Subject: [Rd] Multiple sub-architecture: linking issue
In-Reply-To: <4FD1D38B.5040504@cbio.uct.ac.za>
References: <4FD1D38B.5040504@cbio.uct.ac.za>
Message-ID: <FDB00E14-6405-4263-B76D-44F41A585309@r-project.org>

Make sure you have installed multilib gcc and the ia32 dev packages - it seems you don't have them. I'm a

Sent from my iPhone

On Jun 8, 2012, at 6:27 AM, Renaud Gaujoux <renaud at mancala.cbio.uct.ac.za> wrote:

> Hi again,
> 
> following my previous post on RCurl, I cannot install Rcpp either:
> 
> g++ -m32 -I/home/renaud/bin/R/2.15/lib64/R/include -I/home/renaud/bin/R/2.15/lib64/R/include/i386 -DNDEBUG -I../inst/include/ -I/usr/local/include    -fpic  -g -O2  -c r_cast.cpp -o r_cast.o
> g++ -m32 -shared -L/usr/local/lib64 -o Rcpp.so Date.o DateVector.o Datetime.o DatetimeVector.o Dimension.o DottedPair.o Environment.o Evaluator.o Formula.o Function.o Language.o Module.o Pairlist.o Promise.o RObject.o RcppCommon.o Rcpp_init.o Reference.o Rostream.o Rstreambuf.o S4.o Symbol.o WeakReference.o barrier.o cache.o coerce.o complex.o debugging.o exceptions.o posixt.o r_cast.o
> /usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/gcc/x86_64-linux-gnu/4.5.2/libstdc++.so when searching for -lstdc++
> /usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/gcc/x86_64-linux-gnu/4.5.2/libstdc++.a when searching for -lstdc++
> /usr/bin/ld: cannot find -lstdc++
> collect2: ld returned 1 exit status
> 
> There is definitely some conflict or missing libraries going on...
> Any help is appreciated.
> 
> Thank you.
> 
> PS: Dirk do you want me to post this on the Rcpp list for record?
> 
> -- 
> Renaud Gaujoux
> Computational Biology - University of Cape Town
> South Africa
> 
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
> 
> 



[Rd] Multiple sub-architecture: linking issue
Simon Urbanek