[mrtg] (no subject)
Marcel Lemmen
lemmen at supportnet.nl
Wed Sep 8 08:59:36 MEST 1999
The file libgd.so.0 is installed, but probably in the wrong dir.
My Makefile installed it the /usr/local/lib dir.
All I did was making a (soft) link in the /usr/lib dir (/lib will probably
work too).
Kind regards,
Marcel
On Tue, 7 Sep 1999, Peter Lalor wrote:
> Date: Tue, 7 Sep 1999 14:18:05 -0700
> From: Peter Lalor <plalor at infoasis.com>
> 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