Re: [Rd] include libraries for C code called from R

2006-12-12 Thread Prof Brian Ripley
Just a note: if you do need -L, it would almost certainly be -L/usr/lib64 on this system. As a diagnostic check, try nm -g /mnt/san2/braunm/winshare/braunm/Cpractice/RgslTest.so which will probably have 'U' for lots of symbols from gsl. On Tue, 12 Dec 2006, Duncan Temple Lang wrote: > -BEG

Re: [Rd] include libraries for C code called from R

2006-12-12 Thread Duncan Temple Lang
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Michael. [There's no need to send two pieces of mail that are essentially the same issue.] The problem is that when you are creating the shared object gslTestHG.so, you are not telling the linker to combine information from the libgsl.so or libg

[Rd] include libraries for C code called from R

2006-12-12 Thread braunm
I hope that someone on this list can help me with this issue. I have searched through all of the documentation and mail archives for a solution, but have been unable to find an answer that addresses my particular problem directly. Suppose I am writing some C code that I want to access from R thro