folder /usr/local/lib/x86_64-linux-gnu does not exist

Tom H tomh0665 at gmail.com
Wed Jun 9 12:02:09 UTC 2021


On Tue, Jun 8, 2021 at 2:46 PM robert rottermann <robert at redcor.ch> wrote:
>
> I did compile the Nextcloud desktop client.
>
> when I try to run it, i get:
>
> error while loading shared libraries: libnextcloudsync.so.0: cannot
> open shared object file: No such file or directory
>
> in /etc/ld.so.conf.d/x86_64-linux-gnu.conf
>
> i have:
>
> /usr/local/lib/x86_64-linux-gnu
> /lib/x86_64-linux-gnu
> /usr/lib/x86_64-linux-gnu
>
> but only:
>
> /usr/lib/x86_64-linux-gnu
>
> exists.
>
> can I just copy libnextcloudsync.so.0
>
> there?

Where's "libnextcloudsync.so.0"? In "/usr/local/lib"? AFAIK, nothing
installs anything into "/usr/local/lib/x86_64-linux-gnu" when you run
"make; make install" [1].

Is "/usr/local/lib" in the "ld.so.conf" path? Did you run "ldconfig"
after your installation?

On my laptop:

# dpkg -S /etc/ld.so.conf.d/*
libfakeroot:amd64: /etc/ld.so.conf.d/fakeroot-x86_64-linux-gnu.conf
libc-bin: /etc/ld.so.conf.d/libc.conf
libc6:amd64: /etc/ld.so.conf.d/x86_64-linux-gnu.conf

# grep local /etc/ld.so.conf.d/*
/etc/ld.so.conf.d/libc.conf:/usr/local/lib
/etc/ld.so.conf.d/x86_64-linux-gnu.conf:/usr/local/lib/x86_64-linux-gnu

#

[1] BIND's compiled manually:

# ls -FR /usr/local/lib
/usr/local/lib:
bind/       libdns-9.17.13.so*  libirs.la*       libisc.so@
libisccfg-9.17.13.so*  libns.la*
libbind9-9.17.13.so*  libdns.la*   libirs.so@
libisccc-9.17.13.so*  libisccfg.la*    libns.so@
libbind9.la*       libdns.so@   libisc-9.17.13.so*  libisccc.la*
libisccfg.so@    pkgconfig/
libbind9.so@       libirs-9.17.13.so*  libisc.la*       libisccc.so@
  libns-9.17.13.so*

/usr/local/lib/bind:
filter-a.la*  filter-a.so*  filter-aaaa.la*  filter-aaaa.so*

/usr/local/lib/pkgconfig:




More information about the ubuntu-users mailing list