Alpine 의존성 라이브러리 Troubleshot

1. alpine - dotnet selfcontain된 프로젝트가 so search directory로 발생

--> Error /bin/sh ./app: not found --> Solution apk add libc6-compat
Plain Text
복사

2. alpine - 의존성 라이브러리 미설치로 인한 오류들 조치

--> Error Error loading shared library libgcc_s.so.1: No such file or directory --> Solution # apk add libgcc --> Error Error loading shared library libstdc++.so.6: No such file or directory --> Solution # apk add libstdc++ (1/1) Installing libstdc++ (10.3.1_git20211027-r0) OK: 7 MiB in 17 packages --> Error Error loading shared library libgssapi_krb5.so.2: No such file or directory (needed by ./app) --> Solution # apk add krb5-libs (1/5) Installing krb5-conf (1.0-r2) (2/5) Installing libcom_err (1.46.4-r0) (3/5) Installing keyutils-libs (1.6.3-r0) (4/5) Installing libverto (0.3.2-r0) (5/5) Installing krb5-libs (1.19.2-r4) OK: 10 MiB in 25 packages --> Error Error loading shared library ld-linux-x86-64.so.2: No such file or directory (needed by ./app) --> Solution # apk add gcompat (1/3) Installing musl-obstack (1.2.2-r0) (2/3) Installing libucontext (1.1-r0) (3/3) Installing gcompat (1.0.0-r4) OK: 8 MiB in 20 packages --> Error Process terminated. Couldn't find a valid ICU package installed on the system. Set the configuration flag System.Globalization.Invariant to true if you want to run with no globalization support. --> Solution # apk add icu-libs (1/1) Installing icu-libs (69.1-r1) OK: 42 MiB in 26 packages
Plain Text
복사