Skip to content

Image built with DockerBuild.sh not working : "libavcodec.so.61" not found #5252

Open
@sylvaintremblay666

Description

Bambu Studio Version

v01.10.00.89

Where is the application from?

Built from source by yourself or others

OS version

Ubuntu 23.10

Additional system information

No response

Printer

How to reproduce

  • clone github repo
  • checkout tag: v01.10.00.89
  • cd into BambuStudio and run: ./DockerBuild.sh
  • start the container: ./DockerRun.sh

Actual results

the following error:

/BambuStudio/build/package/bin/bambu-studio: error while loading shared libraries: libavcodec.so.61: cannot open shared object file: No such file or directory

Expected results

bambuStudio should start.

Workaround

The libavcodec.so.61 lib is built during the dependencies build phase and can be found in /BambuStudio/build/package/bin. Add an LD_LIBRARY_PATH env var pointing to this location in the DockerRun.sh script then BambuStudio will start :

...
-e LD_LIBRARY_PATH=/BambuStudio/build/package/bin \
...

Project file & Debug log uploads

Checklist of files to include

  • Log file
  • Project file

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions