SliTaz SliTaz Forum

You are not logged in.

#1 2012-03-27 20:21:08

totoetsasoeur
Moderator
Registered: 2011-03-29
Posts: 247

Lilypond package conversion

Hi,

For editing my sheets of music, I would like to use the great "lilypond"  tool (http://www.lilypond.org/introduction.html).

As it is not available on Slitaz (I checked cooking and undigest), I tried (as usual) to convert the Debian package found here http://packages.debian.org/search?keywords=lilypond, with tazpkg convert command.

Conversion runs fine, but when launching lilypond I get the following:

[c]tux@slitaz:~$ lilypond test.ly
lilypond: error while loading shared libraries: libgmp.so.3: cannot open shared object file: No such file or directory
tux@slitaz:~$[/c]
Unfortunately, only libgmp.so.10 is available on slitaz.

Does anyone know where I could find this missing libgmp.so.3?

Thanks

PS: I know that devel guys are really busy these days, but it would be nice having a lilypond package. ;-)

Offline

#2 2012-03-27 20:49:49

Trixar_za
Administrator
Registered: 2011-03-29
Posts: 1,506

Re: Lilypond package conversion

Install gmp and then just symlink libgmp.so.3 to libgmp.so

I really should write a converter's guide one of these days... The general rule: If the requirement isn't in the repositories, convert it. If it is in the repositories, but named wrong, symlink it.

Offline

#3 2012-03-27 21:15:05

totoetsasoeur
Moderator
Registered: 2011-03-29
Posts: 247

Re: Lilypond package conversion

Thanks Trixar,

I understand your advice, but gmp is already installed.

In fact, I do not have the libgmp.so.3 on my system, only libgmp.so.10 is present:

tux@slitaz:~$ ls /usr/lib/libgmp*

/usr/lib/libgmp.a          /usr/lib/libgmp.so.10

/usr/lib/libgmp.la         /usr/lib/libgmp.so.10.0.1

/usr/lib/libgmp.so

tux@slitaz:~$

This is why I asked about where to find the libgmp.so.3 file.

Thanks for helping.

Offline

#4 2012-03-27 21:36:38

Trixar_za
Administrator
Registered: 2011-03-29
Posts: 1,506

Re: Lilypond package conversion

a symlink is like a shortcut link to a file. You can also use it as a cheap way to bypass weird naming conventions like the one you're experiencing.

Try the following:

1. [c]su[/c] to root

2. [c]cd /usr/lib[/c]

3. [c]ln -s libgmp.so libgmp.so.3[/c]

4. Try running lilypond again

Offline

#5 2012-03-28 11:25:07

totoetsasoeur
Moderator
Registered: 2011-03-29
Posts: 247

Re: Lilypond package conversion

Thx, your bypass did the trick. ;-)

The next one is:

[c]root@slitaz:/usr/lib# ln -s libgmp.so libgmp.so.3
root@slitaz:/usr/lib# exit
tux@slitaz:~$ lilypond test.ly
GNU LilyPond 2.12.3
Avertissement : relocalisation non effectuée, ni 2.12.3/ ni courrant/ n'existent sous /usr/share/lilypond/
ERROR: In procedure primitive-load-path:
ERROR: Unable to find file "lily.scm" in load path
tux@slitaz:~$[/c]

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.025 seconds, 7 queries executed - Memory usage: 1.54 MiB (Peak: 1.77 MiB) ]