Re: [Rd] Problem in linking a library in R package

2013-06-17 Thread Dirk Eddelbuettel
On 16 June 2013 at 21:01, Gaurav Sehrawat wrote: | 1.I have a library fpmpi . I made the shared library fpmpi.so from this | library.I am using ubuntu . | | 2.Now, I want to use in my R package .My R package has src folder the there | is makevars.in file [...] | where do i define the shared lib

Re: [Rd] Problem in linking a library in R package

2013-06-17 Thread Suzen, Mehmet
On 16 June 2013 17:31, Gaurav Sehrawat wrote: > fine the shared library path in it. And how would i > verify it has been loaded. The library is dynamic i have check using > ldd fpmpi.so have you tried setting environment variable LD_LIBRARY_PATH: http://tldp.org/HOWTO/Program-Library-HOWTO/shared

[Rd] Problem in linking a library in R package

2013-06-17 Thread Gaurav Sehrawat
1.I have a library fpmpi . I made the shared library fpmpi.so from this library.I am using ubuntu . 2.Now, I want to use in my R package .My R package has src folder the there is makevars.in file ### Setup R source code and objects. PKG_CPPFLAGS = @PKG_CPPFLAGS@ PKG_LIBS = -L/home/g/Desktop/