Hello guys,
I try to make a snap with a prebuilt C++ app. If I open the app directly per console, it launches without a problem, but when I compile the snap, I get the following error:
$ orderheaven
/snap/orderheaven/x7/orderheaven: error while loading shared libraries: libGL.so.1: cannot open shared object file: No such file or directory
Structure of the folder snaptmp:
- orderheaven # the executable
- resources # the folder with the required resources
My snapcraft.yaml:
name: orderheaven
version: '3.0.0+Alpha9' # just for humans, typically '1.2+git' or '1.3.2'
summary: Single-line elevator pitch for your amazing snap # 79 char long summary
description: |
This is my-snap's description. You have a paragraph or two to tell the
most important story about your snap. Keep it under 100 words though,
we live in tweetspace and your description wants to look good in the snap
store.
grade: devel # must be 'stable' to release into candidate/stable channels
confinement: devmode # use 'strict' once you have the right plugs and slots
parts:
orderheaven:
# See 'snapcraft plugins'
plugin: dump
source: snaptmp
apps:
orderheaven:
command: orderheaven
plugs: [opengl]