search for: cpractic

Displaying 2 results from an estimated 2 matches for "cpractic".

Did you mean: cpractice
2006 Dec 12
1
Undefined symbol when trying to dyn.load a shared object
...R Next, I try to load the shared object into R using dyn.load("RgslTest.so") and get the following error in R: > dyn.load("RgslTest.so") Error in dyn.load(x, as.logical(local), as.logical(now)) : unable to load shared library '/mnt/san2/braunm/winshare/braunm/Cpractice/RgslTest.so': /mnt/san2/braunm/winshare/braunm/Cpractice/RgslTest.so: undefined symbol: gsl_sf_hyperg_2F1 I am certain that the file path in the #include statement is correct. It looks like R can't find the gsl function in the C program, even though the compiler did. I would greatly...
2006 Dec 12
1
include libraries for C code called from R
...-L/usr/local/lib64 -o RgslTest.so RgslTest.o -L/usr/lib64/R/lib -lR When I go into R and enter the command dyn.load("gslTestHG.so"), I get the following error: Error in dyn.load(x, as.logical(local), as.logical(now)) : unable to load shared library '/mnt/san2/braunm/winshare/braunm/Cpractice/RgslTest.so': /mnt/san2/braunm/winshare/braunm/Cpractice/RgslTest.so: undefined symbol: gsl_sf_hyperg_2F1 So, it looks like R is not recognizing the function call within my own C function, even though the library was included. Note that this is a simpler example of my "real" prob...