On Mon, Mar 28, 2022 at 6:56 AM Mats Bengtsson <matsboxergr...@gmail.com> wrote:
> > On 2022-03-28 12:02, Jogchum Reitsma wrote: > > Op 28-03-2022 om 07:29 schreef Kevin Pye: > > (OpenSUSE Leap 15.3 to be precise) > > So I've downloaded 2.23.7 and untarred into ~/Software/lilypond-2.23.7, > created a symbolic link from ~/Software/lilypond-2.23.7/bin/lilypond to > ~/bin/lilypond, and get the following... > > > ~/bin/lilypond --version > GNU LilyPond 2.23.7 (running Guile 2.2) > > Copyright (c) 1996--2022 by > Han-Wen Nienhuys <han...@xs4all.nl> > Jan Nieuwenhuizen <jann...@gnu.org> > and others. > > This program is free software. It is covered by the GNU General Public > License and you are welcome to change it and/or distribute copies of it > under certain conditions. Invoke as `lilypond --warranty' for more > information. > > > ~/bin/lilypond x.ly > GNU LilyPond 2.23.7 (running Guile 2.2) > Uncaught exception: > Throw to key misc-error with args ("primitive-load-path" "Unable to find > file ~S in load path" ("ice-9/boot-9") #f)Cannot exit gracefully when init > is in progress; aborting. > Aborted (core dumped) > > (with the same result whether the file exists or not). > > However... > > > ~/Software/lilypond-2.23.7/bin/lilypond x.ly > GNU LilyPond 2.23.7 (running Guile 2.2) > warning: cannot find file: `x.ly' > fatal error: failed files: "x.ly" > > So it works if run directly from the installation directory, but not via a > symbolic link. > > Any ideas? > > Kevin. > > Hi Kevin, > > I would throw this question on the opensuse-support list., since it's more > OS-related than lilypond specific,I would think. > > I don't have the expertise to tell what goes wrong here, but it could be > something with relative paths, which are different in case one starts from > another point in the file system. > > I'm on Opensuse Tumbleweed, and there the version of lilypond is kept > reasonably actual. > > I just tried doing a similar soft link in Ubuntu and I get exactly the > same error message, so it's most likely not OS related. > Just a wild guess. Do you have ~/bin/lilypond in your path? Carl