IQVIA-ML / LightGBM.jl

Julia FFI interface to Microsoft's LightGBM package
Other
93 stars 10 forks source link

LD_LIBRARY_PATH gets overrode by pre-compiled lightGBM.jl binary #105

Closed kainkad closed 3 years ago

kainkad commented 3 years ago

I've encountered a possible bug when running lightGBM.jl with my custom binary. Despite of pointing my LD_LIBRARY_PATH to the custom binary, whatever is existing in here: ~/.julia/compiled/$JULIA_VERSION/LightGBM will be used. The current workaround is to: rm -rf ~/.julia/compiled/v1.4/LightGBM and then the exported LD_LIBRARY_PATH will work correctly. Ideally, we'd like to avoid doing it each time.