Am 18. April 2020 09:01:22 MESZ schrieb Jonas Hahnfeld <hah...@hahnjo.de>:
>Am Donnerstag, den 16.04.2020, 19:15 +0100 schrieb Timothy Lanfear:
>> These lines would seem to be relevant showing a mixture of gs
>versions
>> 9.26 and 9.21,
>>
>> On 16/04/2020 13:46, Simon Albrecht wrote:
>> >
>> > warning: No such directory
>> >
>'/home/simon/lilypond/2.21.0/lilypond/usr/share/ghostscript/9.21/fonts'
>
>> > for GS_FONTPATH
>> >
>> > warning: No such directory
>> > '/home/simon/lilypond/2.21.0/lilypond/usr/share/gs/fonts' for
>GS_FONTPATH
>> >
>> > Prepending
>> >
>'/home/simon/lilypond/2.21.0/lilypond/usr/share/ghostscript/9.21/Resource'
>
>> > to GS_LIB
>> >
>> > Setting GS_LIB to
>> >
>'/home/simon/lilypond/2.21.0/lilypond/usr/share/ghostscript/9.21/Resource'
>> >
>> > Prepending
>> >
>'/home/simon/lilypond/2.21.0/lilypond/usr/share/ghostscript/9.21/Resource/Init'
>
>> > to GS_LIB
>> >
>> > Setting GS_LIB to
>> >
>'/home/simon/lilypond/2.21.0/lilypond/usr/share/ghostscript/9.21/Resource/Init:/home/simon/lilypond/2.21.0/lilypond/usr/share/ghostscript/9.21/Resource'
>> >
>>
>> > Invoking `gs -dSAFER -dDEVICEWIDTHPOINTS=595.28
>> > -dDEVICEHEIGHTPOINTS=841.89 -dCompatibilityLevel=1.4 -dNOPAUSE
>-dBATCH
>> > -r1200 -sDEVICE=pdfwrite -dAutoRotatePages=/None -dPrinted=false
>> > -sOutputFile=bug.pdf -c.setpdfwrite -f/tmp/lilypond-1LrrwN'...
>> >
>> > gs: Interpreter revision (926) does not match gs_init.ps revision
>(921).
>> >
>> >
>> On my machine
>>
>> /usr/local/lilypond-2.21.0/lilypond/usr/bin/gs --version returns
>9.26,
>> conflicting with
>> /usr/local/lilypond-2.21.0/lilypond/usr/share/ghostscript/9.21
>>
>> I hadn't noticed because I run my distribution's gs not Lilypond's. A
>
>> packaging error somewhere?
>
>I just downloaded 2.20.0 and 2.21.0 and both contain GhostScript in
>version 9.21. You're seeing 9.26 probably because the gs executable is
>linked dynamically and will use the libgs.so.9 it finds first. By
>default this is in /usr/lib/ which comes from your distribution. When
>instead using the wrapper script provided by the installer and put into
>bin/, you will get the correct version because it sets some magic
>environment variables.
>
>So the "correct" way to determine the version is
>LD_LIBRARY_PATH=lilypond/usr/lib/ ./lilypond/usr/bin/gs --version
>which returns 9.21
>
>To address the original problem you should invoke lilypond via the
>wrapper script /usr/local/lilypond-2.21.0/bin/lilypond
>instead of using the the directly binary from
>/usr/local/lilypond-2.21.0/lilypond/usr/bin/lilypond.
Which gets back to my question: how did you invoke it, do you run LilyPond from
Frescobaldi?
Urs
>
>Regards
>Jonas
--
Diese Nachricht wurde von meinem Android-Gerät mit K-9 Mail gesendet.