openalea-incubator / caribu

Eco-physiological model of light interception by plants
Other
6 stars 11 forks source link

GLIBC_2.29 for periodise #51

Closed RamiALBASHA closed 1 year ago

RamiALBASHA commented 1 year ago

Dear all,

I'm getting this error when trying to run caribu on an ubuntu machine (named "modulor"):

CaribuRunError: periodise: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by periodise)

Caribu version: 8.0.10 installed from openalea3 OS : Ubuntu 18.04.3 LTS Python: 3.9.15

Any idea for a solution?

pradal commented 1 year ago

Seems to be a problem with the glibc version Can you check version of glibc by running ldd --version?

pradal commented 1 year ago

Some insight here? https://stackoverflow.com/questions/847179/multiple-glibc-libraries-on-a-single-host/44710599#44710599

RamiALBASHA commented 1 year ago

ldd --version

(Ubuntu GLIBC 2.27-3ubuntu1.5)

RamiALBASHA commented 1 year ago

Some insight here? https://stackoverflow.com/questions/847179/multiple-glibc-libraries-on-a-single-host/44710599#44710599

It looks like a problem touching the binaries of the OS. I would rather not do that since I'm working on a shared server.

pradal commented 1 year ago

Have you tested something like:

sudo apt install libc-bin=2.29 libc6=2.29
RamiALBASHA commented 1 year ago

No, I do not have sudo rights on the machine. @christian34 ?

christian34 commented 1 year ago

I see two solutions:

I will probably go through solution 2, execpt if olution 1 is easy (eg try a loccal conda build ?)

pradal commented 1 year ago

I think a fresh conda build on modulor is the simpliest

git clone conda build conda install --local

RamiALBASHA commented 1 year ago

Thanks @pradal for your suggesiton. It looks though like a beginning of a cascade of other issues, conda build . in caribu gives:

Unsatisfiable dependencies for platform linux-64: {'openalea.sconsx', 'openalea.deploy'}
pradal commented 1 year ago

No. just use

conda build . -c openalea3 -c conda-forge
RamiALBASHA commented 1 year ago

No. just use

conda build . -c openalea3 -c conda-forge

Did not work neither. The issue was solved by upgrading ubuntu to v. 20.04 LTS.