FreeCAD / FreeCAD/FreeCAD

Snap: /snap/freecad/2266/usr/bin/openscad: error while loading shared libraries: libQt5Multimedia.so.5: cannot open shared object file: No such file or directory

Open
#30,338 6 comments 0 reactions 0 assignees View on GitHub
Packaging/building Status: Needs confirmation
Dominant language
C++
Stars
33.6k
Forks
6k
Avg merge
3d 17h
Merged PRs (30d)
196

Description

### Problem description

I selected OpenSCAD in the Toolbox dropdown, entered some OpenSCAD code, e.g.

cube([1,2,3]);

and clicked "Refresh", which resulted in this error:

/snap/freecad/2266/usr/bin/openscad: error while loading shared libraries: libQt5Multimedia.so.5: cannot open shared object file: No such file or directory

OS: Ubuntu Core 24 (ubuntu:GNOME/ubuntu/wayland)
Architecture: x86_64
Version: 1.1.0.44227 +568 (Git) Snap 2266
Build date: 2026/03/25 02:17:53
Build type: Release
Branch: tag: 1.1.0
Hash: 34a9716668b1ddeb55b914f1c5be644826bdbbbf
Python 3.12.3, Qt 6.10.1, Coin 4.0.2, Vtk 9.1.0, boost 1_83, Eigen3 3.4.0, PySide 6.10.1
shiboken 6.10.1, SMESH 7.7.1.0, xerces-c 3.2.4, IfcOpenShell 0.8.4, OCC 7.8.0
Locale: Danish/Denmark (da_DK)
Navigation Style/Orbit Style/Rotation Mode: CAD/Rounded Arcball/Window center
Stylesheet/Theme/QtStyle: unset/FreeCAD Classic/
Logical DPI/Physical DPI/Pixel Ratio: 96/143.907/1

### Workbench affected?

Other (specify in description)

### Steps to reproduce

I can't upload a zip file, it just says "failed to upload zip".

Anyway, to reproduce:

1. Choose OpenSCAD from the toolbox dropdown
2. Click the "Add OpenSCAD Element" button
3. Enter some valid OpenSCAD code, e.g. cube([1,2,3]);
4. Click Refresh button
5. Error occurs: /snap/freecad/2266/usr/bin/openscad: error while loading shared libraries: libQt5Multimedia.so.5: cannot open shared object file: No such file or directory

### Expected behavior

I didn't expect an error - I expected the code to work.

### Actual behavior

I get this error:

/snap/freecad/2266/usr/bin/openscad: error while loading shared libraries: libQt5Multimedia.so.5: cannot open shared object file: No such file or directory

Image

### Development version About Info (in Safe Mode)

```shell
The OpenSCAD module seems to be missing from the latest weekly release.
```

### Last known good version (optional)

```shell

```

Contributor guide

Open the contributing guide

Research direction

Reproduce the OpenSCAD toolbox flow on Ubuntu Core 24 with Snap 2266, starting from the OpenSCAD workbench integration and the Snap packaging configuration. Check how the bundled openscad executable resolves Qt multimedia libraries. Done means entering valid OpenSCAD code and clicking Refresh no longer reports a missing libQt5Multimedia.so.5.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux, ubuntu
Domain
build-system, desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
56/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.