Permissão negada ao tentar encontrar o arquivo

0

Eu estava tentando encontrar uma biblioteca usando o comando find . -name "*libcurl" ou find . -name "*libcurl.so" .

Eu recebo uma lista de mensagens com permissão negada, não tenho certeza se isso significa que o arquivo não foi encontrado ou há outra coisa

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

Eu preciso de algo adicional como o sudo ou algo assim. Estou basicamente encontrando outros detalhes de revisão de problemas em Erro ao implementar o código para Raspberry Pi: / usr / bin / ld: não é possível encontrar -lcurl .

Foi-me pedido para ver se eu tenho o arquivo chamado libcurl.so ao tentar descobrir que me deparo com o problema.

Editar: 1 Quando eu uso o sudo ( sudo find . -name "*libcurl" ) eu vejo o seguinte;

find: ‘./run/user/1000/gvfs’: Permission denied
find: ‘./proc/650/task/650/net’: Invalid argument
find: ‘./proc/650/net’: Invalid argument

Edit: 2
Depois de tentar sudo find / -name *libcurl* como sugerido por @kenlukas, recebo o seguinte:

    /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
    
por Vivek_Shukla 06.09.2018 / 18:12

1 resposta

1

Em vez de find , use o comando locate

locate libcurl.so

O locate mantém um banco de dados de arquivos em seu computador e fornece resultados muito mais rápidos, a menos que o arquivo * .so tenha sido criado recentemente.

Se você não quiser ver as mensagens no resultado da pesquisa, leia esta resposta link

    
por 07.09.2018 / 09:50