Hello Emiliano,
* Emiliano Barreto_Hernandez wrote on Wed, May 10, 2006 at 06:57:46PM CEST:
>
> But when I tryed to load de Rmpi library in R, it doesn't work
> With this error:
>
> >library(Rmpi)
> Error in dyn.load(x, as.logical(local), as.logical(now)) :
> unable to load shared library
> '/usr/local/lib64/R/library/Rmpi/libs/Rmpi.so':
> /usr/local/lib/liblam.so.0: undefined symbol: openpty
> Error in library(Rmpi) : .First.lib failed for 'Rmpi'
> Error in dyn.unload(x) : dynamic/shared library
> '/usr/local/lib64/R/library/Rmpi/libs/Rmpi.so' was not loaded
It seems libmpi needs to be linked against Glibc's libutil if it uses
openpty. As a workaround, you can probably try to load that manually
earlier, or LD_PRELOAD it when starting R. (I don't know R well, so if
that uses a startup script, you'll need to adjust this info.)
Hope that helps.
Cheers,
Ralf
|