Dear JD,

I'm not sure I can help much but will just write two things that come to mind.

Did you double check that the path /usr/local/lilypond/usr/bin/lilypond exists, and is not just a slightly different path? When I install lilypond from https://gitlab.com/lilypond/lilypond/-/releases/v2.24.1/downloads/lilypond-2.24.1-darwin-x86_64.tar.gz the binary is usually found at /path/to/lilypond-x.x.x/bin/lilypond, not /<..>/lilypond/usr/bin/lilypond. Something doesn't seem right about the path to lilypond and python3, as if it is supposed to be /usr/bin/{lilypond,python3} without /usr/local/lilypond appended to it. But again I haven't tried installing in this way.

My other guess is it is a sort of permissions error, like that directory or file is owned by a different user.

Other than that, hopefully someone else will be of better help.

-Will

On 4/11/23 20:04, JD Margulici wrote:
Hello, I am running the following commands to install Lilypond on Alpine Linux:

wget https://lilypond.org/download/binaries/linux-64/$LILYPOND_INSTALLER <https://lilypond.org/download/binaries/linux-64/$LILYPOND_INSTALLER>
sh $LILYPOND_INSTALLER

with LILYPOND_INSTALLER set to lilypond-2.23.6-1.linux-64.sh <http://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 <https://lists.gnu.org/archive/html/lilypond-user/2009-01/msg00725.html>

Thank you for your help!

JD

--
+ ------------------------------------------- +
|   William Rehwinkel - Oberlin College and   |
|                          Conservatory '24   |
|        will...@williamrehwinkel.net         |
| PGP key:                                    |
| https://ftp.williamrehwinkel.net/pubkey.txt |
+ ------------------------------------------- +

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

Reply via email to