Skip to content

Error while loading shared libraries: libavcodec.so.61: cannot open shared object file: No such file or directory. In Ubuntu 24.04.2 LTS x86_64 #2879

@mq-yuan

Description

@mq-yuan

Check for other issues

  • I've checked for other issues, and none exist.

Issue description

I installed spacedrive by downloading Spacedrive-linux-x86_64.deb from the release page on GitHub. When I execute spacedrive, the following error occurs: Error loading shared library: libavcodec.so.61: Cannot open shared object file: No such file or directory.

Steps to reproduce

  1. sudo apt install /tmp/Spacedrive-linux-x86_64.deb
  2. spacedrive

Platform and versions

  • OS: Ubuntu 24.04.2 LTS x86_64
  • Spacedrive: 0.4.3

Stack trace

Additional context

~/Downloads> sudo apt install /tmp/Spacedrive-linux-x86_64.deb
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'spacedrive' instead of '/tmp/Spacedrive-linux-x86_64.deb'
Suggested packages:
  gstreamer1.0-plugins-bad
The following NEW packages will be installed:
  spacedrive
0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
Need to get 0 B/89.5 MB of archives.
After this operation, 332 MB of additional disk space will be used.
Get:1 /tmp/Spacedrive-linux-x86_64.deb spacedrive amd64 0.4.3 [89.5 MB]
Selecting previously unselected package spacedrive.
(Reading database ... 205569 files and directories currently installed.)
Preparing to unpack .../Spacedrive-linux-x86_64.deb ...
Unpacking spacedrive (0.4.3) ...
Setting up spacedrive (0.4.3) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for gnome-menus (3.36.0-1.1ubuntu3) ...
Processing triggers for man-db (2.12.0-4build2) ...
Processing triggers for desktop-file-utils (0.27-2build1) ...

~/Downloads> spacedrive
spacedrive: error while loading shared libraries: libavcodec.so.61: cannot open shared object file: No such file or directory

~/Downloads [127]> find /usr -name "libavcodec.so*"
/usr/lib/Spacedrive/libavcodec.so.61.19.100
/usr/lib/Spacedrive/libavcodec.so
/usr/lib/Spacedrive/libavcodec.so.61
/usr/lib/x86_64-linux-gnu/libavcodec.so.60.31.102
/usr/lib/x86_64-linux-gnu/libavcodec.so.60

Code of Conduct

  • I agree to follow the Code of Conduct.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions