Rune Zedeler <[EMAIL PROTECTED]> writes:

> $ pnmtopng
> pnmtopng: error while loading shared libraries: libpng.so.3: cannot open
> shared object file: No such file or directory
> 
> even though I have

That's not `even though', that's the reason.  You link with an unusual
library path,

> PNGLIB = -L$(PNGDIR) -L$(HOME)/usr/$(HOSTTYPE)/lib -lpng

 but (most probably) don't tell the runtime linker about
this path.

Try

   export LD_LIBRARY_PATH=$HOME/usr/$HOSTTYPE/lib

although, on non-linux systems the name of LD_LIBRARY_PATH may be
different, see man ld.so for details.

Jan.

-- 
Jan Nieuwenhuizen <[EMAIL PROTECTED]> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien       | http://www.lilypond.org


_______________________________________________
Lilypond-devel mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to