[R-SIG-Mac] link a shared library of a r-package
    Christoph Hofer 
    christoph.hofer at env.ethz.ch
       
    Tue Oct 13 18:19:35 CEST 2009
    
    
  
Dear list
I wrote some c-code and would like to link it with the shared library  
RandomFields.so of the
RandomFields package.
I tried it in the following way
gcc -lRandomFields -L/directory of RandomFields.so -o prog my_c_code.c
and I got the following error
ld: library not found for -lRandomFields
collect2: ld returned 1 exit status
Thus my question: Is it possible to link a shared library (created  
inside an R-package) with so c-code.
I am not sure if this is the right list but I am working with Mac OS X  
10.6.
Regards
Christoph
    
    
More information about the R-SIG-Mac
mailing list