Hi,
I am trying to move a snap package ‘volsung’ from core18
to core20
. The build works fine, but when I try to run one of my snapped applications via volsung.signy
I get the following:
/snap/volsung/x5/bin/signy: error while loading shared libraries: libgstgl-1.0.so.0: cannot open shared object file: No such file or directory
Here’s the complete yaml file, any help would be appreciated:
name: volsung
version: 1.18.2
summary: Geothermal Simulation Package
title: Volsung
description: |
The Volsung Simulation Package contains the following applications for geothermal simulations:
- Brynhild for coupled reservoir/wellbore/surface simulations
- Gudrun for standalone wellbore simulations
- Sigrun for standalone pipeline simulations
- Swanhild for numerical pressure transient analysis
- Signy - a thermodynamic table tool (including python wrappers)
- Sigurd - command line tool for running simulations
- Atli & Gunnar - inverse modelling companion tools for Gudrun & Brynhild
For more information please visit www.FlowStateSolutions.co.nz where you will also find more information on how to obtain license key files.
icon: fss-icon-gradient-gray-256x256.png
architectures:
- build on [amd64]
run on [amd64]
confinement: strict
base: core20
grade: stable
parts:
desktop-glib-only:
source: https://github.com/ubuntu/snapcraft-desktop-helpers.git
source-subdir: glib-only
plugin: make
build-packages:
- libglib2.0-dev
stage-packages:
- libglib2.0-bin
volsung-dependencies:
plugin: nil
stage-packages:
- iproute2
- libglu1-mesa
- llvm-dev
- libgl1-mesa-dev
- libgl1-mesa-dri
- libxt-dev
- libegl1-mesa
- libgstreamer1.0-0
- libxrender-dev
- libxi-dev
- libxkbcommon-x11-0
- libfontconfig1
- libsz2
- libtspi1
- xvfb
- libpulse-mainloop-glib0
- libgomp1
- libgfortran4
- libodbc1
- libpq5
- libatm1
- libcurl4
# ensure a nvidia driver is there to provide libcuda
- nvidia-headless-460-server
# pdf viewer
- evince
# for the kompare difftool
- kompare
- libxcb-xinerama0
- kpart5-kompare
# python-dependencies:
- python3-distutils
- python3-tk
- python3-venv
- python3-numpy
- python3-h5py
- python3-vtk7
- python3-matplotlib
- python3-xlrd
- python3-pandas
- python3-scipy
volsung:
plugin: dump
source: ./volsung
source-type: local
override-build: |
snapcraftctl build
after:
- desktop-glib-only
- volsung-dependencies
volsung-python-modules:
plugin: python
build-environment:
- PATH: /usr/bin:$PATH
- PYTHONPATH: ''
python-packages:
- git+https://gitlab.com/drpeterfranz/volsung-python-modules.git
apps:
atli:
command: bin/desktop-launch $SNAP/bin/atli
desktop: share/desktop/volsung-atli.desktop
brynhild:
command: bin/desktop-launch $SNAP/bin/brynhild
desktop: share/desktop/volsung-brynhild.desktop
gudrun:
command: bin/desktop-launch $SNAP/bin/gudrun
desktop: share/desktop/volsung-gudrun.desktop
gunnar:
command: bin/desktop-launch $SNAP/bin/gunnar
desktop: share/desktop/volsung-gunnar.desktop
odin:
command: bin/desktop-launch $SNAP/bin/odin
desktop: share/desktop/volsung-odin.desktop
signy:
command: bin/desktop-launch $SNAP/bin/signy
desktop: share/desktop/volsung-signy.desktop
sigrun:
command: bin/desktop-launch $SNAP/bin/sigrun
desktop: share/desktop/volsung-sigrun.desktop
sigurd:
command: bin/desktop-launch $SNAP/bin/sigurd
swanhild:
command: bin/desktop-launch $SNAP/bin/swanhild
desktop: share/desktop/volsung-swanhild.desktop
license-request-wizard:
command: bin/desktop-launch $SNAP/bin/license-request-wizard
set-license-location:
command: bin/desktop-launch $SNAP/bin/set-license-location
modor:
command: bin/modor
# PEST
beopest:
command: bin/pest/beopest
pest:
command: bin/pest/pest
pestchek:
command: bin/pest/pestchek
plugs:
account-control:
audio-playback:
cups-control:
desktop:
desktop-legacy:
gsettings:
hardware-observe:
home:
network:
network-bind:
network-control:
network-manager:
network-manager-observe:
network-observe:
network-status:
opengl:
removable-media:
shutdown:
ssh-keys:
wayland:
x11: