Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nightly won't start on openSUSE Tumbleweed #7689

Closed
tresf opened this issue Feb 8, 2025 · 5 comments · Fixed by #7690
Closed

Nightly won't start on openSUSE Tumbleweed #7689

tresf opened this issue Feb 8, 2025 · 5 comments · Fixed by #7690
Assignees
Milestone

Comments

@tresf
Copy link
Member

tresf commented Feb 8, 2025

It appears that by removing our LD_LIBRARY_PATH=usr/lib from our launcher script in #7686 it's causing more issues.

This is a report from a user on Reddit:

  me@localhost:~/Downloads/GameDev/Audio> ./nightly*.AppImage
  [carla-hook.sh] Carla appears to be installed on this system at /usr/lib64/carla so we'll use it.
  ldd: warning: you do not have execution permission for `/usr/lib64/carla/libcarla_native-plugin.so'
  [carla-hook.sh] Preferring the system's "libgobject-2.0.so.0" over the version bundled.
- /tmp/.mount_nightlAdO0bw/apprun-hooks/jack-hook.sh: line 6: ldconfig: command not found
  [jack-hook.sh] Jack does not appear to be installed.  That's OK, we'll use a dummy version instead.
- /tmp/.mount_nightlAdO0bw/AppRun.wrapped: error while loading shared libraries: libdb-5.3.so: cannot open shared object file: No such file or directory`

... I tested the AppImage out on Tumbleweed and I can confirm, Tumbleweed ships with libdb-4.8.so and we expect libdb-5.3.so.

Workarounds:

Outdated, click to expand anyway
  1. (NOT RECOMMENDED) Force LMMS to use the system version.

    • This seems to work just fine, but has risks as it modifies the root filesystem and may cause crashes if there are substantial API changes between libdb versions.
    sudo ln -s /usr/lib64/libdb-4.8.so /usr/lib64/libdb-5.3.so
  2. (RECOMMENDED) Start LMMS from the extracted "usr/lib" directory. This will place our copy of libdb on the path, but may introduce more VST crashes, as it was our copy of libreadline that caused this mess to begin with.

    ~/Downloads/lmms-1.3.0-alpha.1.755+g6a0a4cd2b-linux-x86_64.AppImage --appimage-extract && pushd squashfs-root/usr/lib && ../../AppRun && popd && rm -rf squashfs-root/
@tresf

This comment has been minimized.

@tresf

This comment has been minimized.

@tresf
Copy link
Member Author

tresf commented Feb 8, 2025

Ok... it appears some things have changed since we bundled libjack. Mainly, libjack is now in the appimage exclude list.

The source comment shows that this decision wasn't widely OK'd. There's even anticipation of people complaining about this. I think the reason this was OK'd was because this library is now provided as part of pipewire, so if a system uses pipewire, it should also have jack, which is most systems, especially those that play audio. Should we just remove our workaround? Thoughts welcome.

@tresf

This comment has been minimized.

@tresf
Copy link
Member Author

tresf commented Feb 8, 2025

Ok, I've decided to keep our workaround for now at least.. and include another workaround for the missing libdb dependency. PR is up:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants