[R] dyn.load problem under linux

Tom 'spot' Callaway tcallawa at redhat.com
Sat Feb 10 10:10:58 CET 2007


On Fri, 2007-02-09 at 21:31 +0100, Domenico Vistocco wrote:

>   libstdc++-libc6.2-2.so.3: cannot open shared object file: No such file 
> or directory
> Error in library(POP.R) : .First.lib failed for 'POP.R'
> ---------------------------------------------------------------------------------------------------------------------------------------------
> 
> Nevertheless the file exists:
> ---------------------------------------------------------------------------------------------------------------------------------------------
>  > file.exists("/usr/lib/R/library/POP.R/libs/ezlic20.so")

You're misreading the error message:

libstdc++-libc6.2-2.so.3 is the file that doesn't exist. Its a rather
ancient copy of libstdc++ from Red Hat 6.2, which almost certainly
doesn't exist in a normal Ubuntu installation. It used to be in Fedora
as part of the compat-libstdc++-296-2.96 package, but Fedora dropped it
around FC-4.

So, either, you should convince whomever compiled that library to
recompile it against a modern version of Linux (without any compat-*
libs installed), made in the last 5 years, or you could find an old copy
of the Fedora Core 4 RPM, unpack the libraries from the rpm, put them
in /usr/lib, and hope that is the only ancient library you need.

Hooray for closed source, eh?

~spot



More information about the R-help mailing list