Re: [Rd] Multiple sub-architecture: linking issue

From: Simon Urbanek <>
Date: Fri, 08 Jun 2012 13:01:37 -0400

R doesn't use C++ nor the other libraries so you wouldn't find out about such missing pieces. Unfortunately I'm traveling w/o computer today so I can't look up what you need. If someone doesn't beat me to it I'll have a look when I get back. Simon

Sent from my iPhone

On Jun 8, 2012, at 11:08 AM, Renaud Gaujoux <> wrote:

> 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<>  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 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/ 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
>>> ______________________________________________
>>> mailing list

> mailing list Received on Fri 08 Jun 2012 - 17:15:41 GMT

This quarter's messages: by month, or sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]

All messages

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sat 09 Jun 2012 - 21:32:27 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive