on 2011-05-07 at 12:58 Enrico Weigelt wrote: >Do you have an multilib installation (32 and 64 bit libraries) ?
no, it's pure 64 bits. i found out what the problem was at Gentoo's Bugzilla [1]. for some reason the file /usr/lib64/libz.so is a text file, the solution was linking it to the real .so file at /lib64/libz.so (or /lib64/libz.so.1 in my case). after that lilypond builds just fine. best, lj [1] http://bugs.gentoo.org/show_bug.cgi?id=334835