1

我正在尝试在全新安装的 Mac OS X 上进行 Lilypond 的全新构建。已使用 Brew 安装了依赖项。

./configure && make all在 Lilypond 目录中做。它通过配置并开始构建,但结束于 ERROR: In procedure dynamic-link: ERROR: file: "libguile-srfi-srfi-1-v-3", message: "file not found"

我知道 libguile 是什么,我不知道它是否在我的系统上(或者它应该在哪里),但是配置脚本成功完成并且没有将其识别为缺少的依赖项,所以我认为它能够找到它。

有什么建议么?谷歌搜索显示了一些关于设置的旧提示$LD_LIBRARY_PATH,但似乎这些不适用于 Mac OS 10.6。

4

3 回答 3

2

MacPorts提供了一个 lilypond 端口。

$ port info lilypond
lilypond @2.12.3, Revision 3 (textproc)
Variants:             [+]docs, gui, universal

Description:          Lilypond is a unix-based automated engraving system that generates beautiful sheet music from input files. Lilypond uses its
                      own input format, .ly, which in many ways is similar to LaTeX. Lilypond can export sheet music to PDF, EPS, SVG, and PNG
                      formats, and can also create MIDI files.
Homepage:             http://lilypond.org/

Library Dependencies: fontforge, ghostscript, mftrace, guile, texinfo, pango, flex, urw-fonts, netpbm
Platforms:            darwin
License:              unknown
Maintainers:          snc@macports.org, openmaintainer@macports.org
于 2010-09-27T17:05:43.050 回答
1

It's likely that the dynamic libraries have a .dylib extension, but need a .so extension.

I worked around this by creating links in /opt/local/lib

Owner-Users-MacBook-Pro-15:~ Carl$ ls -l /opt/local/lib | grep .so

-rwxr-xr-x    2 root  admin     45152 Mar 11 12:19 libXcursor.1.dylib

-rw-r--r--    2 root  admin     50232 Mar 11 12:19 libXcursor.a

lrwxr-xr-x    1 root  admin        18 Mar 11 12:19 libXcursor.dylib -> libXcursor.1.dylib

-rwxr-xr-x    2 root  admin      1105 Mar 11 12:19 libXcursor.la

lrwxr-xr-x    1 root  admin        32 Mar 11 21:19 libguile-srfi-srfi-1-v-3.so -> libguile-srfi-srfi-1-v-3.3.dylib

lrwxr-xr-x    1 root  admin        36 Mar 11 21:19 libguile-srfi-srfi-13-14-v-3.so -> libguile-srfi-srfi-13-14-v-3.3.dylib

lrwxr-xr-x    1 root  admin        32 Mar 11 21:20 libguile-srfi-srfi-4-v-3.so -> libguile-srfi-srfi-4-v-3.3.dylib

lrwxr-xr-x    1 root  admin        33 Mar 11 21:20 libguile-srfi-srfi-60-v-2.so -> libguile-srfi-srfi-60-v-2.2.dylib

lrwxr-xr-x    1 root  admin        17 Mar 11 21:21 libguile.so -> libguile.17.dylib

lrwxr-xr-x    1 root  admin        30 Mar 11 21:22 libguilereadline-v-17.so -> libguilereadline-v-17.17.dylib
于 2011-04-02T17:22:37.433 回答
0

在 macOS 上安装 Lilypond 的最简单方法是使用lyp。除了安装 lyp 本身,它是一个 Ruby gem,没有其他依赖安装,没有编译步骤。另外,您可以安装多个版本的 Lilypond 并在它们之间轻松切换。

$ gem install lyp
$ lyp install lilypond

要安装特定版本:

$ lyp install lilypond@2.19.53
于 2017-01-12T08:57:54.290 回答