[mrtg] Re: Still can't find libgd.so.0

Rubin Bennett RBennett at brueggers.com
Wed Sep 8 13:58:07 MEST 1999


I currently have MRTG 2.8.8 running on a (mostly) out of the box Red Hat 6.0
system.  I did a FULL install (Custom Installation - not desktop or Server
config... -> Install Everything), and ran the configure and make and it runs
beautifully.  Perhaps an upgrade is in order?  I've had the problem you
describe in older versions of Linux, and as I recall, it was something in
the libc or libg library.  yYou could try to update that library, but
resolving the dependancies will kill you.

Good luck,

Rubin

-----Original Message-----
From: Peter Lalor [mailto:plalor at infoasis.com]
Sent: Tuesday, September 07, 1999 5:18 PM
To: mrtg at list.ee.ethz.ch
Subject: [mrtg] Still can't find libgd.so.0


Hi all,

This seems to be the problem du jour. Like several others, I can't 
get MRTG 2.8.8 running on a Linux box. Using the stock Makefile, I get

.//rateup: error in loading shared libraries
libgd.so.0: cannot open shared object file: No such file or directory

when doing "./mrtg mrtg.cfg". 'ldd rateup' shows this:

./rateup: error in loading shared libraries
libgd.so.0: cannot map file data: Bad file number

Poking around the list archives, I found Yozo's suggestions and I've 
tried a few of them, but no joy.

Setting 'LDFLAGS =  -lm -lgd -lm -lpng -lz -R/usr/local/lib' makes no 
difference.

Setting 'LDFLAGS =  -lm -Xlinker -Bstatic -Xlinker -L/opt/gd/lib -lgd 
-lpng -lz' (which is flailing around) gets me:

PROBLEM: rateup died from Signal 11

But at least "ldd rateup" looks happier:

         libm.so.6 => /lib/libm.so.6 (0x2aaad000)
         libc.so.6 => /lib/libc.so.6 (0x2ab11000)
         /lib/ld.so.1 => /lib/ld.so.1 (0x00000000)

..And I couldn't figure out Yozo's "editing rateup as a shell 
script", because, well, I'm having a hard enough time with Unix as it 
is. ;-)

(Please CC me your response; although the listserv shows me 
subscribed, it doesn't send me the list for some reason.)

Peter Lalor           Infoasis
plalor at infoasis.com   http://www.infoasis.com/

--
* 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

--
* 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