[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Cannot locate libffi.so.6 on openSUSE Leap 42.1
From: |
Masamichi HOSODA |
Subject: |
Re: Cannot locate libffi.so.6 on openSUSE Leap 42.1 |
Date: |
Tue, 24 Nov 2015 22:27:24 +0900 (JST) |
> The downloadable version of lilypond 2.19.32 will not run on openSUSE Leap
> 42.1 as it is unable to find libffi.so.6, which is not installed on this OS.
>
> The lilypond distribution includes this shared library in its usr/lib64
> directory. But the installer script only creates a lilypond wrapper start
> script referencing usr/lib and not usr/lib64:
>
> #!/bin/sh
> me=`basename $0`
> #export LD_LIBRARY_PATH="/home/andro/lilypond/usr/lib"
> export
> LD_LIBRARY_PATH="/home/andro/lilypond/usr/lib:/home/andro/lilypond/usr/lib64"
> exec "/home/andro/lilypond/usr/bin/$me" "$@"
>
>
> If I add the lib64 directory as above, which contains libffi.so.6 all is well.
>
> Why does the installer script omit the lib64 directory?
>
> This is a defect because users of the downloadable lilypond cannot run it on
> openSUSE.
>
> Andrew
libffi.so.6 should be on usr/lib instead of usr/lib64.
Maybe it is a GUB's issue.
(GUB is LilyPond official binary building tool.)
I'm creating the patch for GUB that will fix the issue.