[R] RSPerl on OS X
Jan de Leeuw
deleeuw at stat.ucla.edu
Thu Jul 18 22:44:14 CEST 2002
On OS X there is a difference between bundles loadable at runtime
(foo.so) and dynamic libraries used at link time (foo.dylib). They
are build with different linker flags. This creates the problem what
libR.dylib is, precisely, because obviously it is a module that must
be loaded into perl at runtime. Your perl does find libR.dylib, but
it cannot find the symbols it needs in there (it seems). Since this
will be a problem for all of the "bi-directional" OmegaHat packages, I
think
it must be resolved in a general way by the OmegaHat team.
On Thursday, Jul 18, 2002, at 12:44 US/Pacific, Steve Goldstein wrote:
> Hello,
>
> Has anyone gotten RSPerl ( (http://www.omegahat.org/RSPerl/)
> to work on Mac OS X?
>
> After installing RSPerl, I run the test program (or, even simpler,
> perl -e 'use R;') and get the following error:
>
> dyld: perl Undefined symbols:
> _RPerl_createRProxy
> _RPerl_discardRProxy
> _RPerl_getProxyValue
> _RPerl_getReferenceName
> _addPerlConverterRoutine
> _fromPerl
> _tryEval
> _userLevelConversionToPerl
>
> It looks like the dynamic loader can't find the right libraries. The
> instructions (http://www.omegahat.org/RSPerl/RFromPerl.pdf)
> specify setting the LD_LIBRARY_PATH envar. I assumed that
> the corresponding envar on OS X is DYLD_LIBRARY_PATH
> and added $R_HOME/bin/ and <wherever>/RSPERL/libs/ to
> the path, but this didn't help.
>
> Thanks,
> Steve
>
>
> -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
> .-.-.-.-.-
> r-help mailing list -- Read
> http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
> Send "info", "help", or "[un]subscribe"
> (in the "body", not the subject !) To:
> r-help-request at stat.math.ethz.ch
> _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
> ._._._._
>
>
===
Jan de Leeuw; Professor and Chair, UCLA Department of Statistics;
US mail: 9432 Boelter Hall, Box 951554, Los Angeles, CA 90095-1554
phone (310)-825-9550; fax (310)-206-5658; email: deleeuw at stat.ucla.edu
homepage: http://www.stat.ucla.edu/~deleeuw
========================================================
No matter where you go, there you are. --- Buckaroo Banzai
http://www.stat.ucla.edu/~deleeuw/sounds/nomatter.au
========================================================
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the R-help
mailing list