beechung / Latent-Factor-Models

R functions for fitting latent factor models with internal computation in C/C++
BSD 3-Clause "New" or "Revised" License
123 stars 61 forks source link

Running error: Symbol not found: _compute_szuBv_c_single_dense #15

Open patng323 opened 6 years ago

patng323 commented 6 years ago

I finally got it compiled (thanks to the solutions provided by others), but when I ran it, I got this error:

Error in dyn.load(sprintf("%slib/c_funcs.so", code.dir)) :
  unable to load shared object '/Users/patrickng/works/Latent-Factor-Models/lib/c_funcs.so':
  dlopen(/Users/patrickng/works/Latent-Factor-Models/lib/c_funcs.so, 6): Symbol not found: _compute_szuBv_c_single_dense
  Referenced from: /Users/patrickng/works/Latent-Factor-Models/lib/c_funcs.so
  Expected in: flat namespace

I am using R version 3.2.4 on Mac OSX. Wonder if anyone has seen this?