Skip to content
Back to formatted view

Raw Message

Message-ID: <20293.46017.938783.853388@max.nulle.part>
Date: 2012-02-23T03:34:25Z
From: Dirk Eddelbuettel
Subject: question about install gputools
In-Reply-To: <586A4828D7AAA04CA9B258C50A28DA200BF58E42@BALI.uhd.campus>

On 22 February 2012 at 21:12, Hodgess, Erin wrote:
| Here we go:

Thanks for posting this.  The (omitted) lines right before the error you
showed are instructive (and I unindent them here)

| > install.packages("gputools_0.26.tar.gz",repos=NULL,configure.args=c
| ("--with-cuda-home=/bccd/software/cuda-3.2.16"))
| Installing package(s) into '/bccd/home/bccd/R/x86_64-pc-linux-gnu-library/2.14'
| (as 'lib' is unspecified)
| * installing *source* package 'gputools' ...
[...]
| /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../.. /libR.so when searching for -lR
| /usr/bin/ld: skipping incompatible /usr/lib/R/lib/libR.so when searching for -lR
| /usr/bin/ld: skipping incompatible /usr/lib/libR.so when searching for -lR
| /usr/bin/ld: cannot find -lR
| collect2: ld returned 1 exit status

So it is not that no -lR is found, simply no _compatible_ libR.so is found.
Why that is so have no idea. I don't think I have ever seen that error.

The conflict is between ld and that shared library and would suggest that is
somewhat misconfigured.  I fear you need to sort that out at your end.

The gputools configure and compiled just fine, it simply didn't get R to link.

Dirk

-- 
"Outside of a dog, a book is a man's best friend. Inside of a dog, it is too
dark to read." -- Groucho Marx