The dynamic loader does not look in the current directory by default, so that's why it doesn't find the files. One solution is to set the environment variable LD_LIBRARY_PATH to the directory where you have the lib*.so files. Normally, you install such lib files in /lib/, /usr/lib/ or /usr/local/lib/, where the dynamic loader looks by default (actually /usr/local/lib/ isn't searched by default on all systems). See man ld.so for more information.
/Mats
Sarah Cordish wrote:
I have the file libguile-sifri-sifri etc. in the same folder that has the folder Lilypond. Nothing else is running and I am root.
The file lily.ly was written in emacs and is as follows: \score { \notes { \time 3/4 \clef bass c2 e4 g2. f4 e d c2 r4 } } \score { \notes { \time 3/4 \clef treble c2 e4 g2. f4 e d c2 r4 } }
Below is the output from my calling lilypond to read lily.ly:
What is wrong?
[EMAIL PROTECTED] sarah]$ lilypond -V file:/home/sarah/lily.ly
lilypond (GNU LilyPond) 2.2.6
Opening pipe `/usr/bin/lilypond-bin --version '
Opening pipe `kpsexpand \$TEXMF'
Opening pipe `kpsewhich -expand-path=\$T1FONTS'
Invoking `/usr/bin/lilypond-bin -I /home/sarah -I /home/sarah -I /home/sarah/file:/home/sarah -H dedication -H title -H subtitle -H subsubtitle -H footer -H head -H composer -H arranger -H instrument -H opus -H piece -H metre -H meter -H poet -H texttranslator -H textheight -H fontencoding -H inputencoding -H language -H latexpackages -H papersize -H pagenumber -H latexheaders -H latexoptions -H linewidth -H unit -H orientation --verbose file:/home/sarah/lily'
lilypond_datadir: `/usr/share/lilypond'
local_lilypond_datadir: `/usr/share/lilypond/2.2.6'
localedir: `/usr/share/locale'
LILYPONDPREFIX: `'
/usr/share/guile/1.6/srfi/srfi-13.scm:159:1: In procedure dynamic-link in expression (load-extension "libguile-srfi-srfi-13-14-v-1" "scm_init_srfi_13"):
/usr/share/guile/1.6/srfi/srfi-13.scm:159:1: file: "libguile-srfi-srfi-13-14-v-1", message: "libguile-srfi-srfi-13-14-v-1.so: cannot open shared object file: No such file or directory"
lilypond: warning: `lilypond-bin' failed (status 2) (ignored)
lilypond: error: LilyPond failed on input file file:/home/sarah/lily (exit status 2)
Traceback (most recent call last):
File "/usr/bin/lilypond", line 873, in ?
run_lilypond (files, dep_prefix)
File "/usr/bin/lilypond", line 296, in run_lilypond
ly.exit (status)
File "/usr/share/lilypond/2.2.6/python/lilylib.py", line 130, in exit
raise _ ('Exiting (%d)...') % i
Exiting (512)...
Cleaning /home/sarah/tmp/tmp2xbb_clilypond...
[EMAIL PROTECTED] sarah]$ lilypond -V lily.ly
lilypond (GNU LilyPond) 2.2.6
Opening pipe `/usr/bin/lilypond-bin --version '
Opening pipe `kpsexpand \$TEXMF'
Opening pipe `kpsewhich -expand-path=\$T1FONTS'
Invoking `/usr/bin/lilypond-bin -I /home/sarah -I /home/sarah -I /home/sarah -H dedication -H title -H subtitle -H subsubtitle -H footer -H head -H composer -H arranger -H instrument -H opus -H piece -H metre -H meter -H poet -H texttranslator -H textheight -H fontencoding -H inputencoding -H language -H latexpackages -H papersize -H pagenumber -H latexheaders -H latexoptions -H linewidth -H unit -H orientation --verbose lily'
lilypond_datadir: `/usr/share/lilypond'
local_lilypond_datadir: `/usr/share/lilypond/2.2.6'
localedir: `/usr/share/locale'
LILYPONDPREFIX: `'
/usr/share/guile/1.6/srfi/srfi-13.scm:159:1: In procedure dynamic-link in expression (load-extension "libguile-srfi-srfi-13-14-v-1" "scm_init_srfi_13"):
/usr/share/guile/1.6/srfi/srfi-13.scm:159:1: file: "libguile-srfi-srfi-13-14-v-1", message: "libguile-srfi-srfi-13-14-v-1.so: cannot open shared object file: No such file or directory"
lilypond: warning: `lilypond-bin' failed (status 2) (ignored)
lilypond: error: LilyPond failed on input file lily (exit status 2) Traceback (most recent call last): File "/usr/bin/lilypond", line 873, in ? run_lilypond (files, dep_prefix) File "/usr/bin/lilypond", line 296, in run_lilypond ly.exit (status) File "/usr/share/lilypond/2.2.6/python/lilylib.py", line 130, in exit raise _ ('Exiting (%d)...') % i Exiting (512)... Cleaning /home/sarah/tmp/tmpNkFthAlilypond... [EMAIL PROTECTED] sarah]$
Sincerely, Sarah Cordish
_______________________________________________ lilypond-user mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/lilypond-user
-- ============================================= Mats Bengtsson Signal Processing Signals, Sensors and Systems Royal Institute of Technology SE-100 44 STOCKHOLM Sweden Phone: (+46) 8 790 8463 Fax: (+46) 8 790 7260 Email: [EMAIL PROTECTED] WWW: http://www.s3.kth.se/~mabe =============================================
_______________________________________________ lilypond-user mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/lilypond-user