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

Can't run when installed in /usr/bin but "./" does work #48

Closed
notthewave opened this issue Oct 19, 2021 · 4 comments
Closed

Can't run when installed in /usr/bin but "./" does work #48

notthewave opened this issue Oct 19, 2021 · 4 comments

Comments

@notthewave
Copy link

I'm trying to package harvid and xjadeo for void-linux and it seems like Ardour can't start xjadeo. When running standalone it reports:

Could not open video output.
Could not open display.

However, when executed with ./ it pops up no problem. Any Idea what could cause this?
I first suspected this to be a Problem with Wayland, however I get the same output with X (dwm).

here is the PR for both harvid and xjadeo:
void-linux/void-packages#33586

@x42
Copy link
Owner

x42 commented Oct 19, 2021

I have no explanation what could cause this. I have not experienced this before.

Ardour uses vfork() to launch xjadeo (really xjremote) as child process. That will have the same environment as the parent process and hence should just connect to the same x-window server as Ardour itself.

For a 2nd opinion: Does it work when you use the binary from https://nightly.ardour.org/ (demo is fine, installs to /opt and comes with an uninstaller)?

@notthewave
Copy link
Author

notthewave commented Oct 20, 2021

Probably related to the musl libc. Glibc apparently works fine. But why doesn't the static binary work either?

@notthewave
Copy link
Author

didn't work

!!! ERROR !!! - Missing library detected!
This system does not have the correct libs to run Ardour.
Installation will not complete. Please use a compatible distro.

there are only 2 possibilities:

  • I have a misconfigured system
  • musl causes the problem (since it seems to work on glibc)

@notthewave
Copy link
Author

alright it works! just had it installed in /usr/local/bin before and didn't notice. Thanks for the help!

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

No branches or pull requests

2 participants