x42 / xjadeo

X JAck viDEo mOnitor: a tool that displays a video clip in sync with an external time source (jack-transport, LTC and MTC). Applications include: soundtrack composition/editing, video monitoring and -installations.
http://xjadeo.sf.net/
GNU General Public License v2.0
42 stars 7 forks source link

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

Closed notthewave closed 2 years ago

notthewave commented 3 years ago

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: https://github.com/void-linux/void-packages/pull/33586

x42 commented 3 years ago

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 commented 3 years ago

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

notthewave commented 3 years ago

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:

notthewave commented 2 years ago

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