From renaud at mancala.cbio.uct.ac.za  Fri Jun  8 17:08:29 2012
From: renaud at mancala.cbio.uct.ac.za (Renaud Gaujoux)
Date: Fri, 08 Jun 2012 17:08:29 +0200
Subject: [Rd] Multiple sub-architecture: linking issue
In-Reply-To: <FDB00E14-6405-4263-B76D-44F41A585309@r-project.org>
References: <4FD1D38B.5040504@cbio.uct.ac.za>
	<FDB00E14-6405-4263-B76D-44F41A585309@r-project.org>
Message-ID: <4FD2156D.4030807@cbio.uct.ac.za>

Thank you for your reply Simon.

I have the gcc-multilib and ia32-libs packages installed (I think their 
installation is part of the procedure you described in your previous 
post). Could not find the package ia32-dev you mention. It seems to be 
flagged as obsolete in Natty repositories:

$ sudo apt-get install  ia32-libs-dev lib32readline6-dev 
lib32ncurses5-dev lib32icu-dev gcc-multilib gfortran-multilib
[sudo] password for renaud:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package ia32-libs-dev is not available, but is referred to by another 
package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
   lib32bz2-dev ia32-libs lib32z1-dev

I succeeded in compiling both architecture of R without a problem 
though. Would that have been possible if some of the files provided by 
this package were missing?
I can try look around for this exact package.

-- 
Renaud Gaujoux
Computational Biology - University of Cape Town
South Africa


On 08/06/2012 16:22, Simon Urbanek wrote:
> 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
Renaud Gaujoux