[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: |
Wed, 25 Nov 2015 00:10:27 +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.
I've created issue 4669.
http://sourceforge.net/p/testlilyissues/issues/4669/
I'm checking the patch.
I'll pull request it.