[mrtg] Re: gd-1.6.3 and libz

Yozo Toda yozo at aohakobe.ipc.chiba-u.ac.jp
Sat Oct 2 16:22:07 MEST 1999

> I am trying to install the MRTG package on a Solaris 2.6 box and get
> a "libz- not found" error when trying to install gd-1.6.3.


> +---8<---8<---
> # ./configure
> loading cache ./config.cache
> checking host system type... sparc-sun-solaris2.6


> checking for main in -lm... yes
> checking for main in -lz... no
> configure: error: libz not found.

where is your ZLIB library?
set the path to the environment variable LD_LIBRARY_PATH
before configure.

for example, if ZLIB library is intalled in /usr/local/lib/,

  setenv LD_LIBRARY_PATH /usr/local/lib:$LD_LIBRARY_PATH
  configure (with any options you like...)

-- yozo.

* To unsubscribe from the mrtg mailing list, send a message with the
  subject: unsubscribe to mrtg-request at list.ee.ethz.ch
* The mailing list archive is at http://www.ee.ethz.ch/~slist/mrtg

More information about the mrtg mailing list