wtclarke / fsl_mrs

Mirror of the FSL-MRS gitlab repository
https://git.fmrib.ox.ac.uk/fsl/fsl_mrs
Other
14 stars 8 forks source link

version `GLIBC_2.27' not found #1

Closed longfangithub closed 3 years ago

longfangithub commented 4 years ago

I test fsl_mrs on ubuntu16.04, the following issues arise: OSError: Unable to load '/usr/local/anaconda3/lib/python3.7/site-packages/hlsvdpro/bin/libhlsvdpro.so'. The OS reports: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.27' not found (required by /usr/local/anaconda3/lib/python3.7/site-packages/hlsvdpro/bin/libhlsvdpro.so).

I googled this and the solution is to upgrade the OS. But there are some problems to update my OS...are there any other solution?

wtclarke commented 4 years ago

Hi @longfangithub, Thanks for the bug report. This arises from the packaged hlsvdpro library. We obviously compiled on a newer linux distro and I see (also googling) that this is now a common issue. I agree that upgrading is not a great solution.

I have two suggestions: 1) Quick & dirty. Uninstall hlsvdpro conda remove hlsvdpro and install a pypi version pip install hlsvdpro==1.0.1. Mixing conda and pip is not a good idea in general but it might get you a working version. 2) Brian Soher has just released a pure python version of the package. https://pypi.org/project/hlsvdpropy/ In the next bug fix version of fsl-mrs (1.0.3) I will switch to this, and that should solve these sorts of OS dependent issues. I hope to have that out in the next couple of days.

wtclarke commented 4 years ago

Hi @longfangithub. I've put a new version of FSL-MRS (V1.0.3) up on the fsl conda channel and on git. It should now be linked to a pure python version of hlsvdpro. Could you let me know if that solves the above issue?

longfangithub commented 4 years ago

It is working. Thanks!

---Original--- From: "Will Clarke"<notifications@github.com> Date: Tue, Jul 14, 2020 04:39 AM To: "wexeee/fsl_mrs"<fsl_mrs@noreply.github.com>; Cc: "longfangithub"<582682555@qq.com>;"Mention"<mention@noreply.github.com>; Subject: Re: [wexeee/fsl_mrs] version `GLIBC_2.27' not found (#1)

Hi @longfangithub. I've put a new version of FSL-MRS (V1.0.3) up on the fsl conda channel and on git. It should now be linked to a pure python version of hlsvdpro. Could you let me know if that solves the above issue?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.

wtclarke commented 3 years ago

@longfangithub Sorry I didn't notice your reply. Glad it's working. I'll close this issue now but let me know if you need any other help with the toolbox.