Re: [R] building R on freebsd 6.2 (amd64)

From: Prof Brian D Ripley <ripley_at_stats.ox.ac.uk>
Date: Thu 18 Jan 2007 - 14:34:59 GMT

On Thu, 18 Jan 2007, Hiroyuki Kawakatsu wrote:

> Hi,
>
> I updated my os to freebsd 6.2 and built R-patched with no changes in
> configure. I pass make check and copy the R executable to
> /usr/local/bin/R. Then when I start R, I get
>
> /libexec/ld-elf.so.1: Shared object "libRblas.so" not found, required by "R"
>
> and have to copy/link the two shared object files (libRblas.so and
> libRlapack.so) to somewhere "visible" like /usr/local/lib/ as well. I
> didn't have to do this last step in freebsd 6.1. Is there some
> configure setting I can use to avoid having to move the two shared
> object files?

The R front end sets LD_LIBRARY_PATH to include the place it puts libR.so. It looks like that is not effective on your machine, but you will have to investigate for us why. I am pretty sure other FreeBSD users (6.2 and 7) on AMD64 reported success on R 2.4.x.

How does FreeBSD 6.2 handle 64-bit systems? Most OSes would use /usr/local/lib64, and there is a configure setting LIBnn to cover that issue.

Another solution for ELF systems is to include R_HOME/lib in the list of directories known to ldconfig.

-- 
Brian D. Ripley,                  ripley@stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Received on Fri Jan 19 01:44:10 2007

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Thu 18 Jan 2007 - 18:30:28 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.