aws-samples / aws-samples/aws-lambda-elixir-runtime

libcrypto.so.1.1: cannot open shared object file: No such file or directory

Ouverte
#15 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Elixir
Étoiles
129
Forks
31
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

OTP 26 requires a different version of libcrypto.so. The repo includes version 1.0.0 while the OTP crypto library is looking for 1.1:

```
hello_world start
=ERROR REPORT==== 3-Aug-2023::23:28:44.813510 ===
Unable to load crypto library. Failed with error:
"load_failed, Failed to load NIF library /var/task/lib/crypto-5.2/priv/lib/crypto: 'libcrypto.so.1.1: cannot open shared object file: No such file or directory'"
OpenSSL might not be installed on this system.
=CRASH REPORT==== 3-Aug-2023::23:28:44.814044 ===
```

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

Start by inspecting how the repository packages its crypto library and reproduce the `hello_world` startup failure under OTP 26. Trace why the runtime requests `libcrypto.so.1.1` while version 1.0.0 is bundled; done means the AWS Lambda runtime starts without the reported crypto load error.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
aws, elixir
Domaine
cloud
Type d'issue
Bug
Difficulté
4/5
Temps estimé
3-5 jours
Activité
À l'abandon
Clarté
À clarifier
Accessibilité débutants
25/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.