[R] Shared libraries for use with R

Giovanni Petris GPetris at uark.edu
Fri Jan 18 22:34:05 CET 2002


Thank you for the answer! There is something that is still not clear
to me though...

Thank you,
Giovanni

> 
> Solaris, I presume from the flags, but *please* tell us enough background
> information.
> 
Ooops! Yes, Solaris...

> 
> Try nm -pg tryit.so and ldd tryit.so.  The linker will use a shared
> version of libutil if one exists, and then you would need a -R flag.
> 
There is only a static version libutil.a. Do I need to create a shared
version of it? (see below the output form nm and ldd)

> I am also not sure why you have quotes around parts of the cc lines: I
> think you have been quoting in Makevars when you should not be.
>
Correct...

> 
> -- 
> Brian D. Ripley,                  ripley at 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 272860 (secr)
> Oxford OX1 3TG, UK                Fax:  +44 1865 272595
> 
> 

Fri<15:07>gpetris[291]>nm -pg tryit.so 


tryit.so:
0000000000 U __1cG__CrunVdo_exit_code_in_range6Fpv1_v_
0000000000 U __1cH__CimplKcplus_fini6F_v_
0000000000 U __1cH__CimplKcplus_init6F_v_
0000068252 D _DYNAMIC
0000068474 D _edata
0000068488 B _end
0000002587 D _etext
0000000000 U _ex_deregister
0000000000 U _ex_register
0000002436 T _fini
0000068124 D _GLOBAL_OFFSET_TABLE_
0000002356 T _init
0000002568 D _lib_version
0000068152 D _PROCEDURE_LINKAGE_TABLE_
0000001992 T create
0000000000 U dgemm
0000000000 U dmatrix
0000000000 U fprint
0000002120 T MatMult
0000000000 U messdoublematrix2
Fri<15:07>gpetris[292]>ldd tryit.so
Fri<15:11>gpetris[293]>
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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