![libGLESv2.so.2를 로드할 수 없습니다. libGLESv2.so.2: 공유 객체 파일을 열 수 없습니다. 해당 파일이나 디렉터리가 없습니다.](https://linux55.com/image/67794/libGLESv2.so.2%EB%A5%BC%20%EB%A1%9C%EB%93%9C%ED%95%A0%20%EC%88%98%20%EC%97%86%EC%8A%B5%EB%8B%88%EB%8B%A4.%20libGLESv2.so.2%3A%20%EA%B3%B5%EC%9C%A0%20%EA%B0%9D%EC%B2%B4%20%ED%8C%8C%EC%9D%BC%EC%9D%84%20%EC%97%B4%20%EC%88%98%20%EC%97%86%EC%8A%B5%EB%8B%88%EB%8B%A4.%20%ED%95%B4%EB%8B%B9%20%ED%8C%8C%EC%9D%BC%EC%9D%B4%EB%82%98%20%EB%94%94%EB%A0%89%ED%84%B0%EB%A6%AC%EA%B0%80%20%EC%97%86%EC%8A%B5%EB%8B%88%EB%8B%A4..png)
나만의 Yocto Linux 배포판을 만들었습니다.라즈베리 파이 2(바라보다내륙강 터미널 튜토리얼은 여기를 클릭하세요), 다음에 추가meta-browser
+ chromium
조리법. 빌드된 이미지는 잘 작동하고 실행할 수 있습니다.크롬하지만...
...이 작업을 수행하면 앱이 표시됨에도 불구하고 다음과 같은 오류 메시지가 나타납니다.
raspberrypi2:~$ /usr/bin/chromium/chrome --enable-logging --v=1 --no-sandbox
[1796:1796:0625/011716:ERROR:browser_main_loop.cc(164)] Running without the SUID sandbox! See https://code.google.com/p/chromium/wiki/LinuxSUIDSandboxDevelopment for more information on developing with the sandbox on.
[1819:1819:0625/011717:ERROR:gl_implementation_osmesa.cc(22)] Failed to load libGL.so.1: libGL.so.1: cannot open shared object file: No such file or directory
[1819:1819:0625/011717:ERROR:gpu_child_thread.cc(145)] Exiting GPU process due to errors during initialization
[1831:1831:0625/011717:ERROR:renderer_main.cc(211)] Running without renderer sandbox
[1837:1837:0625/011717:ERROR:renderer_main.cc(211)] Running without renderer sandbox
도서관을 찾다가 libGL
이런게 나왔네요
root@raspberrypi2:/usr/lib/chromium# find / -name libGL*
/usr/lib/libGLESv2.so
/usr/lib/libGLESv1_CM.so
--use-gl=egl
raspberrypi2:~$ /usr/bin/chromium/chrome --enable-logging --v=1 --no-sandbox --use-gl=egl
[1857:1857:0625/011725:ERROR:browser_main_loop.cc(164)] Running without the SUID sandbox! See https://code.google.com/p/chromium/wiki/LinuxSUIDSandboxDevelopment for more information on developing with the sandbox on.
[1880:1880:0625/011725:ERROR:gl_implementation_osmesa.cc(22)] Failed to load libGLESv2.so.2: libGLESv2.so.2: cannot open shared object file: No such file or directory
[1880:1880:0625/011725:ERROR:gpu_child_thread.cc(145)] Exiting GPU process due to errors during initialization
[1892:1892:0625/011726:ERROR:renderer_main.cc(211)] Running without renderer sandbox
[1897:1897:0625/011726:ERROR:renderer_main.cc(211)] Running without renderer sandbox
이번에는 라이브러리가 /usr/lib
폴더에 잘 표시됩니다.
시도했지만 ldconfig -v
성공하지 못했습니다.
심볼릭 링크가 누락된 것 같은데 어디로 연결해야 할지 모르겠습니다. 어떤 충고?