Am Fr., 24. Jan. 2020 um 22:51 Uhr schrieb David Kastrup <[email protected]>: > > Bric <[email protected]> writes: > > > i am building lilypond-2.19.83 on Ubuntu 18.04.2 LTS > > > > had to build guile-1.8.8, after which lilypond ./configure was happy, and > > finished (posted > > about my guile struggles a few days ago) > > > > But "make" errors out with: > > > > cat Documentation/out/generate-documentation.log : > > > > <build root>/lilypond-2.19.83/out/bin/lilypond: error while loading shared > > libraries: > > libguile.so.17: cannot open shared object file: No such file or directory > > > > i built guile to /usr/local/lib, and have a symlink with the above file > > name lilypond can't find > > > > ls -l /usr/local/lib/libguile.so.17* > > > > lrwxrwxrwx 1 root root 18 Jan 18 23:54 /usr/local/lib/libguile.so.17 -> > > libguile.so.17.4.0 > > -rwxr-xr-x 1 root root 4607496 Jan 18 23:54 > > /usr/local/lib/libguile.so.17.4.0 > > > > guile-config link : > > > > -pthread -L/usr/local/lib -lguile -lltdl -lgmp -lcrypt -lm -lltdl > > > > how can i make lilypond find the shared object? > > I use > > ./configure GUILE=/usr/bin/guile > GUILE_CONFIG=/usr/local/tmp/guile-1.8/bin/guile-config
Bric, do you have other guile-versions around? I made the experience that sometimes configure picks wrongly then, although the double-checked pathes were ok. In this case easiest may be to throw away other guiles and restart. Or, sometimes I succeeded running ldconfig after ´sudo make install´ Cheers, Harm > > and that's basically all. GUILE can be a 2.x Guile version (it is used > for scripting), but GUILE_CONFIG needs to be the 1.8 build. > > -- > David Kastrup >
