Closed jfallmann closed 5 years ago
It seems like some package needs libcrypt but does not have it as a run dep. Most of these come from bioconda and so our outside our control :frowning_face:
@scopatz Thx for having a look! But conda list returns: perl 5.26.2 h516909a_1006 conda-forge and a simple perl --version leads to perl: error while loading shared libraries: libcrypt.so.1: cannot open shared object file: No such file or directory I guess no bioconda package is required for this?
I just created a completely empty env, just installing perl:
conda create -n testperl perl snekke
Collecting package metadata (current_repodata.json): done
Solving environment: done
## Package Plan ##
environment location: /home/fall/anaconda3/envs/testperl
added / updated specs:
- perl
The following NEW packages will be INSTALLED:
_libgcc_mutex pkgs/main/linux-64::_libgcc_mutex-0.1-main
libgcc-ng pkgs/main/linux-64::libgcc-ng-9.1.0-hdf63c60_0
perl conda-forge/linux-64::perl-5.26.2-h516909a_1006
which contains according to conda list:
conda list snekke
# packages in environment at /home/fall/anaconda3/envs/testperl:
#
# Name Version Build Channel
_libgcc_mutex 0.1 main
libgcc-ng 9.1.0 hdf63c60_0
perl 5.26.2 h516909a_1006 conda-forge
and still activating and calling perl -v leads to the same error
@jfallmann can you reproduce this with a minimal perl environment?
@bgruening sorry, was too slow editing
This does not happen on Linux for me:
scopatz@artemis ~ $ conda create -n testperl perl
Collecting package metadata (repodata.json): done
Solving environment: done
## Package Plan ##
environment location: /home/scopatz/miniconda/envs/testperl
added / updated specs:
- perl
The following packages will be downloaded:
package | build
---------------------------|-----------------
_libgcc_mutex-0.1 | main 3 KB
------------------------------------------------------------
Total: 3 KB
The following NEW packages will be INSTALLED:
_libgcc_mutex pkgs/main/linux-64::_libgcc_mutex-0.1-main
libgcc-ng pkgs/main/linux-64::libgcc-ng-9.1.0-hdf63c60_0
perl conda-forge/--blacklist=abi,--max-build-no/linux-64::perl-5.26.2-h516909a_1006
Downloading and Extracting Packages
_libgcc_mutex-0.1 | 3 KB | ############################################## | 100%
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
#
# To activate this environment, use
#
# $ conda activate testperl
#
# To deactivate an active environment, use
#
# $ conda deactivate
scopatz@artemis ~ $ conda activate testperl
(testperl) scopatz@artemis ~ $ which perl
/home/scopatz/miniconda/envs/testperl/bin/perl
(testperl) scopatz@artemis ~ $ perl -v
This is perl 5, version 26, subversion 2 (v5.26.2) built for x86_64-linux-thread-multi
Copyright 1987-2018, Larry Wall
Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.
Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl". If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.
(testperl) scopatz@artemis ~ $
Also working for me:
bag@bag:~/projects/code/staged-recipes$ conda create -n testperl perl
Collecting package metadata: done
Solving environment: done
==> WARNING: A newer version of conda exists. <==
current version: 4.6.7
latest version: 4.7.5
Please update conda by running
$ conda update -n base conda
## Package Plan ##
environment location: /home/bag/miniconda3/envs/testperl
added / updated specs:
- perl
The following NEW packages will be INSTALLED:
_libgcc_mutex pkgs/main/linux-64::_libgcc_mutex-0.1-main
libgcc-ng pkgs/main/linux-64::libgcc-ng-9.1.0-hdf63c60_0
perl conda-forge/linux-64::perl-5.26.2-h516909a_1006
Proceed ([y]/n)? y
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
#
# To activate this environment, use
#
# $ conda activate testperl
#
# To deactivate an active environment, use
#
# $ conda deactivate
bag@bag:~/projects/code/staged-recipes$ conda activate testperl
(testperl) bag@bag:~/projects/code/staged-recipes$ perl --version
This is perl 5, version 26, subversion 2 (v5.26.2) built for x86_64-linux-thread-multi
Copyright 1987-2018, Larry Wall
Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.
Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl". If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.
What is a which perl
giving you?
which perl
~/anaconda3/envs/testperl/bin/perl
how weird is this? I'm running Fedora 30 btw, is it possible this is some OS fuckup? Just saw https://fedoraproject.org/wiki/Changes/FullyRemoveDeprecatedAndUnsafeFunctionsFromLibcrypt
It works on a machine running 5.0.6-200.fc29.x86_64, not on another with fc30, omg
@scopatz @bgruening Can't beleive it, really was a FC30 problem, after installing libxcrypt-compat on my system as hinted to by https://fedoraproject.org/wiki/Changes/FullyRemoveDeprecatedAndUnsafeFunctionsFromLibcrypt#Documentation everything is working as expected again, I'll close this issue, thanks for your time
wow crazy!
Issue: Freshly installed conda, created fresh env for perl, when trying to run perl this error pops up: perl: error while loading shared libraries: libcrypt.so.1: cannot open shared object file: No such file or directory
Environment (
conda list
):Details about
conda
and system (conda info
):Details about
.condarc
: