lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: /usr/local/lilypond/usr/bin/lilypond: not found


From: JD Margulici
Subject: Re: /usr/local/lilypond/usr/bin/lilypond: not found
Date: Wed, 12 Apr 2023 16:07:05 -0700

Hi Jean,

your diagnostic sounds promising. I successfully installed the Frescobaldi Flatpak, but still cannot launch lilypond from the command line. Any idea how to get there? I'm building a docker container and I don't have much experience with docker, so getting to the Frescobaldi GUI is not straightforward.

I tried 2.24 by unpacking the .tar archive and it doesn't run. 
the lilypond command  returns:
/bin/sh: lilypond: not found
even though the directory in in my PATH
and the lilypond-book command returns:
/usr/bin/lilypond-2.24.1/bin/lilypond-book: exec: line 10: /usr/bin/lilypond-2.24.1/bin/../libexec/python3.10: not found

Prior to unpacking I installed the gcompat alpine package but I can't tell whether that is sufficient to get around the glibc issue.

Thank you!

JD

On Wed, Apr 12, 2023 at 12:26 AM Jean Abou Samra <jean@abou-samra.fr> wrote:


Le 12 avr. 2023 à 02:26, JD Margulici <jdmargulici@gmail.com> a écrit :


Hello, I am running the following commands to install Lilypond on Alpine Linux:


with LILYPOND_INSTALLER set to lilypond-2.23.6-1.linux-64.sh

The installation proceeds without glitches. However when I try to run Lilypond I get the following error message, which in spite of its apparent simplicity is rather cryptic since the file that is not found actually exists:

/usr/local/bin/lilypond: exec: line 4: /usr/local/lilypond/usr/bin/lilypond: not found

Similar error with lilypond-book:

/usr/local/bin/lilypond-book: exec: line 6: /usr/local/lilypond/usr/bin/python3: not found

I found a 15-year old post that reports the same error, but the resolution was not clear: https://lists.gnu.org/archive/html/lilypond-user/2009-01/msg00725.html

Thank you for your help!


Not sure about the error message, but I don’t think it could be that simple since the binaries we provide are for glibc-based systems, while Alpine uses musl. You could try the techniques here: https://wiki.alpinelinux.org/wiki/Running_glibc_programs

There is a Frecobaldi Flatpak that includes LilyPond binaries.

Also, 2.23.6 was a development version that has been replaced by the stable 2.24 release series. You should upgrade to 2.24 (for which we don’t provide sh installers but static binaries, though still dynamically linking to glibc).



reply via email to

[Prev in Thread] Current Thread [Next in Thread]