astrorama / SourceXtractorPlusPlus

SourceXtractor++, the next generation SExtractor
https://astrorama.github.io/SourceXtractorPlusPlus/
GNU Lesser General Public License v3.0
72 stars 9 forks source link

Error loading shared library with v0.18 and v0.19dev (installed via Conda). #500

Closed thibaudmoutard closed 2 years ago

thibaudmoutard commented 2 years ago

Dear SourceXtractor++ developers—

I just installed the latest versions of SourceXtractor++ (v0.18 and v0.19 in dev.) on two different machines (Linux and Mac) via Conda. When I try to run it, I get “sourcextractor++: error while loading shared libraries: libonnxruntime.so.1.11.1: cannot open shared object file: No such file or directory” I never had this problem before, but that seems related to some dependencies installed together with SourceXtractor++.

Do you have any idea on how to fix/deal with that?

Thanks for the hard work, Thibaud

ayllon commented 2 years ago

Hello,

Recently onnxruntime merged some changes (that I made) that split the python (onnxruntime) and c++ (onnxruntime-cpp) bits. Let me re-build sourcextractor++ to fix this.

In the meanwhile, I think if you install manually onnxruntime-cpp it should work.

Let me know if it helps.

ayllon commented 2 years ago

Hello,

The latest build (sourcextractor 0.18-2) fixes the issue. Can you give it a try?

Regards, Alejandro

thibaudmoutard commented 2 years ago

That works indeed! Thanks a lot, Thibaud

ayllon commented 2 years ago

Glad it worked! I close this then.