lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: problem building pnmtopng


From: Jan Nieuwenhuizen
Subject: Re: problem building pnmtopng
Date: 09 Dec 2001 21:45:34 +0100
User-agent: Gnus/5.090003 (Oort Gnus v0.03) Emacs/21.1

Rune Zedeler <address@hidden> 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 <address@hidden> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien       | http://www.lilypond.org




reply via email to

[Prev in Thread] Current Thread [Next in Thread]