find . -name "*libcurl"
or 명령을 사용하여 라이브러리를 찾으려고 합니다 find . -name "*libcurl.so"
.
권한 거부 메시지 목록이 표시되는데, 이것이 파일을 찾을 수 없다는 뜻인지 아니면 다른 의미인지 확실하지 않습니다.
find: ‘./var/lib/sudo’: Permission denied
find: ‘./root’: Permission denied
find: ‘./etc/polkit-1/localauthority’: Permission denied
find: ‘./etc/ssl/private’: Permission denied
find: ‘./tmp/.vnc-vncservice’: Permission denied
find: ‘./tmp/systemd-private-1f2e202de1f9401abdddd0375b82dc2c-systemd-timesyncd.service-lg23DT’: Permission denied
find: ‘./sys/kernel/debug’: Permission denied
find: ‘./run/udisks2’: Permission denied
find: ‘./run/lightdm’: Permission denied
find: ‘./run/systemd/inaccessible’: Permission denied
find: ‘./proc/tty/driver’: Permission denied
find: ‘./proc/1/task/1/fd’: Permission denied
find: ‘./proc/1/task/1/fdinfo’: Permission denied
find: ‘./proc/19/ns’: Permission denied
find: ‘./proc/21/task/21/fd’: Permission denied
find: ‘./proc/21/task/21/fdinfo’: Permission denied
find: ‘./proc/21/task/21/ns’: Permission denied
find: ‘./proc/21/fd’: Permission denied
find: ‘./proc/21/map_files’: Permission denied
find: ‘./proc/21/fdinfo’: Permission denied
find: ‘./proc/21/ns’: Permission denied
find: ‘./proc/22/task/22/fd’: Permission denied
find: ‘./proc/22/task/22/fdinfo’: Permission denied
find: ‘./proc/22/task/22/ns’: Permission denied
find: ‘./proc/22/fd’: Permission denied
find: ‘./proc/22/map_files’: Permission denied
find: ‘./proc/22/fdinfo’: Permission denied
find: ‘./proc/22/ns’: Permission denied
find: ‘./proc/23/task/23/fd’: Permission denied
find: ‘./proc/23/task/23/fdinfo’: Permission denied
find: ‘./proc/23/task/23/ns’: Permission denied
find: ‘./proc/23/fd’: Permission denied
find: ‘./proc/23/map_files’: Permission denied
find: ‘./proc/23/fdinfo’: Permission denied
find: ‘./proc/23/ns’: Permission denied
find: ‘./proc/24/task/24/fd’: Permission denied
find: ‘./proc/24/task/24/fdinfo’: Permission denied
find: ‘./proc/24/task/24/ns’: Permission denied
find: ‘./proc/24/fd’: Permission denied
find: ‘./proc/24/map_files’: Permission denied
find: ‘./proc/24/fdinfo’: Permission denied
find: ‘./proc/24/ns’: Permission denied
find: ‘./proc/26/task/26/fd’: Permission denied
find: ‘./proc/26/task/26/fdinfo’: Permission denied
find: ‘./proc/26/task/26/ns’: Permission denied
find: ‘./proc/26/fd’: Permission denied
find: ‘./proc/26/map_files’: Permission denied
find: ‘./proc/26/fdinfo’: Permission denied
find: ‘./proc/26/ns’: Permission denied
find: ‘./proc/27/task/27/fd’: Permission denied
find: ‘./proc/27/task/27/fdinfo’: Permission denied
find: ‘./proc/27/task/27/ns’: Permission denied
find: ‘./proc/27/fd’: Permission denied
find: ‘./proc/27/map_files’: Permission denied
find: ‘./proc/27/fdinfo’: Permission denied
find: ‘./proc/27/ns’: Permission denied
find: ‘./proc/28/task/28/fd’: Permission denied
find: ‘./proc/28/task/28/fdinfo’: Permission denied
find: ‘./proc/28/task/28/ns’: Permission denied
find: ‘./proc/28/fd’: Permission denied
find: ‘./proc/28/map_files’: Permission denied
find: ‘./proc/28/fdinfo’: Permission denied
find: ‘./proc/28/ns’: Permission denied
find: ‘./proc/32/task/32/fd’: Permission denied
find: ‘./proc/32/task/32/fdinfo’: Permission denied
find: ‘./proc/32/task/32/ns’: Permission denied
find: ‘./proc/32/fd’: Permission denied
find: ‘./proc/32/map_files’: Permission denied
find: ‘./proc/32/fdinfo’: Permission denied
find: ‘./proc/32/ns’: Permission denied
find: ‘./proc/33/task/33/fd’: Permission denied
find: ‘./proc/33/task/33/fdinfo’: Permission denied
find: ‘./proc/33/task/33/ns’: Permission denied
find: ‘./proc/33/fd’: Permission denied
find: ‘./proc/33/map_files’: Permission denied
find: ‘./proc/33/fdinfo’: Permission denied
find: ‘./proc/33/ns’: Permission denied
find: ‘./proc/34/task/34/fd’: Permission denied
find: ‘./proc/34/task/34/fdinfo’: Permission denied
find: ‘./proc/34/task/34/ns’: Permission denied
find: ‘./proc/34/fd’: Permission denied
find: ‘./proc/34/map_files’: Permission denied
find: ‘./proc/34/fdinfo’: Permission denied
find: ‘./proc/34/ns’: Permission denied
find: ‘./proc/35/task/35/fd’: Permission denied
find: ‘./proc/35/task/35/fdinfo’: Permission denied
find: ‘./proc/35/task/35/ns’: Permission denied
find: ‘./proc/35/fd’: Permission denied
find: ‘./proc/35/map_files’: Permission denied
find: ‘./proc/35/fdinfo’: Permission denied
find: ‘./proc/35/ns’: Permission denied
find: ‘./proc/36/task/36/fd’: Permission denied
find: ‘./proc/36/task/36/fdinfo’: Permission denied
find: ‘./proc/36/task/36/ns’: Permission denied
find: ‘./proc/36/fd’: Permission denied
find: ‘./proc/36/map_files’: Permission denied
find: ‘./proc/36/fdinfo’: Permission denied
find: ‘./proc/36/ns’: Permission denied
find: ‘./proc/37/task/37/fd’: Permission denied
find: ‘./proc/37/task/37/fdinfo’: Permission denied
find: ‘./proc/37/task/37/ns’: Permission denied
find: ‘./proc/37/fd’: Permission denied
find: ‘./proc/37/map_files’: Permission denied
find: ‘./proc/37/fdinfo’: Permission denied
find: ‘./proc/37/ns’: Permission denied
find: ‘./proc/38/task/38/fd’: Permission denied
find: ‘./proc/38/task/38/fdinfo’: Permission denied
find: ‘./proc/38/task/38/ns’: Permission denied
find: ‘./proc/38/fd’: Permission denied
find: ‘./proc/38/map_files’: Permission denied
find: ‘./proc/38/fdinfo’: Permission denied
find: ‘./proc/38/ns’: Permission denied
find: ‘./proc/39/task/39/fd’: Permission denied
find: ‘./proc/39/task/39/fdinfo’: Permission denied
find: ‘./proc/39/task/39/ns’: Permission denied
find: ‘./proc/39/fd’: Permission denied
find: ‘./proc/39/map_files’: Permission denied
find: ‘./proc/39/fdinfo’: Permission denied
find: ‘./proc/39/ns’: Permission denied
find: ‘./proc/40/task/40/fd’: Permission denied
find: ‘./proc/40/task/40/fdinfo’: Permission denied
find: ‘./proc/40/task/40/ns’: Permission denied
find: ‘./proc/40/fd’: Permission denied
find: ‘./proc/40/map_files’: Permission denied
find: ‘./proc/40/fdinfo’: Permission denied
find: ‘./proc/40/ns’: Permission denied
find: ‘./proc/41/task/41/fd’: Permission denied
find: ‘./proc/41/task/41/fdinfo’: Permission denied
find: ‘./proc/41/task/41/ns’: Permission denied
find: ‘./proc/41/fd’: Permission denied
find: ‘./proc/41/map_files’: Permission denied
find: ‘./proc/41/fdinfo’: Permission denied
find: ‘./proc/41/ns’: Permission denied
find: ‘./proc/44/task/44/fd’: Permission denied
find: ‘./proc/44/task/44/fdinfo’: Permission denied
find: ‘./proc/44/task/44/ns’: Permission denied
find: ‘./proc/44/fd’: Permission denied
find: ‘./proc/44/map_files’: Permission denied
find: ‘./proc/44/fdinfo’: Permission denied
find: ‘./proc/44/ns’: Permission denied
find: ‘./proc/45/task/45/fd’: Permission denied
find: ‘./proc/45/task/45/fdinfo’: Permission denied
find: ‘./proc/45/task/45/ns’: Permission denied
find: ‘./proc/45/fd’: Permission denied
find: ‘./proc/45/map_files’: Permission denied
find: ‘./proc/45/fdinfo’: Permission denied
find: ‘./proc/45/ns’: Permission denied
find: ‘./proc/55/task/55/fd’: Permission denied
find: ‘./proc/55/task/55/fdinfo’: Permission denied
find: ‘./proc/55/task/55/ns’: Permission denied
find: ‘./proc/55/fd’: Permission denied
find: ‘./proc/55/map_files’: Permission denied
find: ‘./proc/55/fdinfo’: Permission denied
find: ‘./proc/55/ns’: Permission denied
find: ‘./proc/56/task/56/fd’: Permission denied
find: ‘./proc/56/task/56/fdinfo’: Permission denied
find: ‘./proc/56/task/56/ns’: Permission denied
find: ‘./proc/56/fd’: Permission denied
find: ‘./proc/56/map_files’: Permission denied
find: ‘./proc/56/fdinfo’: Permission denied
find: ‘./proc/56/ns’: Permission denied
find: ‘./proc/57/task/57/fd’: Permission denied
find: ‘./proc/57/task/57/fdinfo’: Permission denied
find: ‘./proc/57/task/57/ns’: Permission denied
find: ‘./proc/57/fd’: Permission denied
find: ‘./proc/57/map_files’: Permission denied
find: ‘./proc/57/fdinfo’: Permission denied
find: ‘./proc/57/ns’: Permission denied
find: ‘./proc/58/task/58/fd’: Permission denied
find: ‘./proc/58/task/58/fdinfo’: Permission denied
find: ‘./proc/58/task/58/ns’: Permission denied
find: ‘./proc/58/fd’: Permission denied
find: ‘./proc/58/map_files’: Permission denied
find: ‘./proc/58/fdinfo’: Permission denied
find: ‘./proc/58/ns’: Permission denied
find: ‘./proc/60/task/60/fd’: Permission denied
find: ‘./proc/60/task/60/fdinfo’: Permission denied
find: ‘./proc/60/task/60/ns’: Permission denied
find: ‘./proc/60/fd’: Permission denied
find: ‘./proc/60/map_files’: Permission denied
find: ‘./proc/60/fdinfo’: Permission denied
find: ‘./proc/60/ns’: Permission denied
find: ‘./proc/61/task/61/fd’: Permission denied
find: ‘./proc/61/task/61/fdinfo’: Permission denied
find: ‘./proc/61/task/61/ns’: Permission denied
find: ‘./proc/61/fd’: Permission denied
find: ‘./proc/61/map_files’: Permission denied
find: ‘./proc/61/fdinfo’: Permission denied
find: ‘./proc/61/ns’: Permission denied
find: ‘./proc/62/task/62/fd’: Permission denied
find: ‘./proc/62/task/62/fdinfo’: Permission denied
find: ‘./proc/62/task/62/ns’: Permission denied
find: ‘./proc/62/fd’: Permission denied
find: ‘./proc/62/map_files’: Permission denied
find: ‘./proc/62/fdinfo’: Permission denied
find: ‘./proc/62/ns’: Permission denied
find: ‘./proc/63/task/63/fd’: Permission denied
find: ‘./proc/63/task/63/fdinfo’: Permission denied
find: ‘./proc/63/task/63/ns’: Permission denied
find: ‘./proc/63/fd’: Permission denied
find: ‘./proc/63/map_files’: Permission denied
find: ‘./proc/63/fdinfo’: Permission denied
find: ‘./proc/63/ns’: Permission denied
find: ‘./proc/64/task/64/fd’: Permission denied
find: ‘./proc/64/task/64/fdinfo’: Permission denied
find: ‘./proc/64/task/64/ns’: Permission denied
find: ‘./proc/64/fd’: Permission denied
find: ‘./proc/64/map_files’: Permission denied
find: ‘./proc/64/fdinfo’: Permission denied
find: ‘./proc/64/ns’: Permission denied
find: ‘./proc/65/task/65/fd’: Permission denied
find: ‘./proc/65/task/65/fdinfo’: Permission denied
find: ‘./proc/982/task/982/ns’: Permission denied
find: ‘./proc/982/fd’: Permission denied
find: ‘./proc/982/map_files’: Permission denied
find: ‘./proc/982/fdinfo’: Permission denied
find: ‘./proc/982/ns’: Permission denied
find: ‘./lost+found’: Permission denied
sudo 또는 이와 유사한 것이 추가로 필요합니까? 기본적으로 또 다른 문제가 발생했습니다. 세부정보를 확인하세요.Raspberry Pi에 코드 배포 중 오류 발생: /usr/bin/ld: -lcurl을 찾을 수 없음.
libcurl.so라는 파일이 있는지 확인하라는 요청을 받았고 이를 찾으려고 시도하는 동안 이 문제에 직면했습니다.
편집: 1
sudo()를 사용하면 sudo find . -name "*libcurl"
다음이 표시됩니다.
find: ‘./run/user/1000/gvfs’: Permission denied
find: ‘./proc/650/task/650/net’: Invalid argument
find: ‘./proc/650/net’: Invalid argument
편집: 2
@kenlukas가 제안한 대로 시도한 후 sudo find / -name *libcurl*
다음과 같은 결과를 얻었습니다.
/opt/Wolfram/WolframEngine/11.3/SystemFiles/Links/CURLLink/LibraryResources/Linux-ARM/libcurllink.so
/var/lib/dpkg/info/libcurl3-gnutls:armhf.md5sums
/var/lib/dpkg/info/libcurl3-gnutls:armhf.shlibs
/var/lib/dpkg/info/libcurl3-gnutls:armhf.symbols
/var/lib/dpkg/info/libcurl3-gnutls:armhf.list
/var/lib/dpkg/info/libcurl3:armhf.triggers
/var/lib/dpkg/info/libcurl3:armhf.symbols
/var/lib/dpkg/info/libcurl3:armhf.md5sums
/var/lib/dpkg/info/libcurl3:armhf.list
/var/lib/dpkg/info/libcurl3:armhf.shlibs
/var/lib/dpkg/info/libcurl3-gnutls:armhf.triggers
/var/cache/apt/archives/libcurl3_7.52.1-5+deb9u6_armhf.deb
/var/cache/apt/archives/libcurl4-openssl-dev_7.52.1-5+deb9u6_armhf.deb
/var/cache/apt/archives/libcurl3-gnutls_7.52.1-5+deb9u6_armhf.deb
find: ‘/run/user/1000/gvfs’: Permission denied
find: ‘/proc/650/task/650/net’: Invalid argument
find: ‘/proc/650/net’: Invalid argument
/usr/lib/arm-linux-gnueabihf/libcurl-gnutls.so.4
/usr/lib/arm-linux-gnueabihf/libcurl.so.4.4.0
/usr/lib/arm-linux-gnueabihf/libcurl-gnutls.so.3
/usr/lib/arm-linux-gnueabihf/libcurl-gnutls.so.4.4.0
/usr/lib/arm-linux-gnueabihf/libcurl.so.3
/usr/lib/arm-linux-gnueabihf/libcurl.so.4
/usr/share/lintian/overrides/libcurl3
/usr/share/lintian/overrides/libcurl3-gnutls
/usr/share/doc/libcurl3
/usr/share/doc/libcurl3-gnutls
답변1
명령을 find
사용하는 대신locate
locate libcurl.so
찾기는 컴퓨터에 파일 데이터베이스를 저장하고 *.so 파일이 최근에 생성되지 않은 한 더 빠른 결과를 제공합니다.
찾기 결과에서 메시지를 보고 싶지 않다면 이 답변을 읽어보세요. https://stackoverflow.com/a/25234419/10008499