LoginSignup
1
0

Rustをデプロイするとerror while loading shared libraries: libssl.so.3: cannot open shared object file: No such file or directoryエラーが出る

Posted at

はじめに

Kubernetesのジョブが起動しなくなったのでまとめます

問題

ArgoCDでRustのジョブをデプロイしたところ以下のエラーが出ました

/usr/local/bin/sample-job: error while loading shared libraries: libssl.so.3: cannot open shared object file: No such file or directory
HTTP/1.1 200 OK
Date: Tue, 06 Feb 2024 03:22:07 GMT
Content-Length: 2
Content-Type: text/plain; charset=utf-8

ここでlibssl-devをいれてみたけど改善はしませんでした

回避方法

Rustのバージョンを上げていたことが問題でした

rust:1.65.0 -> rust:1.75.0

今回はバージョンを戻すことで解決しました(??)

おわりに

今回は解決方法ではなく回避方法をのせました。緊急だったので解決方法はみつけていません
わかるかたぜひコメントください

1
0
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0