[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: gEDA: Problems compiling gerbv: -lz, -lm



On Sat, Aug 21, 2004 at 04:54:46PM +1000, Hamish Moffatt wrote:
> On Fri, Aug 20, 2004 at 06:17:30PM +0000, Karel Kulhavý wrote:
> > On Sat, Aug 21, 2004 at 12:57:23AM +1000, Hamish Moffatt wrote:
> > > > /usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/../../../libpng.so: undefined reference to `deflate'
> > > 
> > > That means your libpng is built wrong. It should link against libz
> > > itself if it needs it, rather then depending on user applications to
> > > provide that link.
> > 
> > I have built it according to libpng's own installation instructions :-|
> 
> I suggest you get a package from your distribution instead. It will
> probably be built and linked correctly. Surprisingly that llibpng's
> own instructions were wrong though. (Or perhaps their scripts are wrong,
> and the distributions have fixed them up.)

So should I bugreport this to libpng?

Cl<
> 
> I guess you built your own gcc as well, as it wouldn't normally be in
> /usr/local.
> 
> Hamish
> -- 
> Hamish Moffatt VK3SB <hamish@debian.org> <hamish@cloud.net.au>