pcdshub / pcds-envs

conda environments used by PCDS
Other
1 stars 9 forks source link

Linux builds not fully compatible with rocky9 #324

Closed ZLLentz closed 6 months ago

ZLLentz commented 7 months ago

For example, the perl that gets installed here won't run on our rocky9 build host:

(pcds-5.8.2)zlentz@psbuild-rocky9-01:~$ perl -h
perl: error while loading shared libraries: libcrypt.so.1: cannot open shared object file: No such file or directory

Need to find out if this is a specific error with specific packages or a more widespread issue

ZLLentz commented 7 months ago

Here are our perl dependencies, maybe predictably:

 Name       Version Build            Depends  Channel
──────────────────────────────────────────────────────────
 epics-base 7.0.7.0 h2dfad98_0       perl     conda-forge
 git        2.42.0  pl5321h86e50cf_0 perl 5.* conda-forge
ZLLentz commented 7 months ago

This is fixed in the upstream perl feedstock at the same version number but a higher build number. The fix involves compiling perl against libxcrypt, including this as a runtime dependency, and providing the shared library as part of the distribution.