[mrtg] ld.so.1: rateup: fatal: libgd.so.2: open failed: No such file or directory

Juan Montoya Juan.Montoya at Sun.COM
Wed Jan 16 20:12:36 CET 2008


I installed

freetype-2.3.1-sol9-sparc-local
jpeg-6b-sol9-sparc-local
gcc-3.4.6-sol9-sparc-local
libiconv-1.11-sol9-sparc-local
mrtg-2.15.2
libpng-1.2.24-sol9-sparc-local
gd-2.0.35
fontconfig-2.4.2-sol9-sparc-local
zlib-2.32-sol9-sparc-local

The server has solaris 9

This is the messages when configure MRTG

./configure --prefix=/usr/local/mrtg-2 --with-png=/usr/sfw/include/libpng
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... gcc -E
checking whether make sets $(MAKE)... yes
checking for a BSD-compatible install... ./install-sh -c
checking for perl... /usr/bin/perl
checking for groff... no
checking for nroff... /usr/bin/nroff
checking for egrep... egrep
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... no
checking for unistd.h... yes
checking for inttypes.h... (cached) yes
checking for unsigned long long... yes
checking for long long... yes
checking for strtoll... yes
checking for printf long long format specifier... %lld
checking for pow in -lm... yes
checking for gdImageGif in -lgd... yes
checking for gdImagePng in -lgd... yes
checking for gdImagePng_jpg in -lgd... no
checking for gdImagePng_jpg_ft in -lgd... no
checking for gdImageGd in -lgd... no
checking gd.h usability... yes
checking gd.h presence... yes
checking for gd.h... yes
checking the weather... (cached) it's fine
checking if we can use GCC-specific compiler options... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: config.h is unchanged
ordering CD from http://people.ee.ethz.ch/~oetiker/wish .... just 
kidding ;-)

----------------------------------------------------------------
Config is DONE!

# make install
/usr/bin/perl -0777 -p -i~ -e "s'^#!\s*/\S*perl'#! /usr/bin/perl'" 
./bin/cfgmaker ./bin/indexmaker ./bin/mrtg
/usr/bin/perl -0777 -p -i~ -e 's at GRAPHFMT="...";@GRAPHFMT="png";@' 
./bin/mrtg ./bin/indexmaker
/bin/sh ./mkinstalldirs /usr/local/mrtg-2/bin
for x in ./bin/mrtg ./bin/cfgmaker ./bin/indexmaker 
./bin/mrtg-traffic-sum; do \
  ./install-sh -c -m 755 $x /usr/local/mrtg-2/bin; done
for x in bin/rateup; do \
  ./install-sh -c -m 755 $x /usr/local/mrtg-2/bin; done
/bin/sh ./mkinstalldirs /usr/local/mrtg-2/lib/mrtg2/Pod
for x in ./lib/mrtg2/*.pm; do \
  ./install-sh -c -m 644 $x /usr/local/mrtg-2/lib/mrtg2; done
for x in ./lib/mrtg2/Pod/*.pm; do \
  ./install-sh -c -m 644 $x /usr/local/mrtg-2/lib/mrtg2/Pod; done
/bin/sh ./mkinstalldirs /usr/local/mrtg-2/share/mrtg2/icons
for x in ./images/*.gif ./images/*.png; do \
  ./install-sh -c -m 644 $x /usr/local/mrtg-2/share/mrtg2/icons; done
/bin/sh ./mkinstalldirs /usr/local/mrtg-2/share/doc/mrtg2
(cd .; for x in COPYING COPYRIGHT README CHANGES THANKS doc/*.pod 
doc/*.txt doc/*.png; do \
  ./install-sh -c -m 644 $x /usr/local/mrtg-2/share/doc/mrtg2; done)
/bin/sh ./mkinstalldirs /usr/local/mrtg-2/man/man1
for x in ./doc/*.1; do \
  ./install-sh -c -m 644 $x /usr/local/mrtg-2/man/man1; done



 cfgmaker --global 'WorkDir: /MRTGMONITOR' --global 'Options[_]: 
bits,growright' --output /MRTGMONITOR/cfg/mrtg.cfg public at 129.153.199.27

but when execute the following command appears this error


#/usr/local/mrtg-2/bin/mrtg /MRTGMONITOR/cfg/mrtg.cfg
ld.so.1: rateup: fatal: libgd.so.2: open failed: No such file or directory
2008-01-11 11:58:01: ERROR: Skipping webupdates because rateup did not 
return anything sensible
2008-01-11 11:58:01: WARNING: rateup died from Signal 9
 with Exit Value 0 when doing router '129.153.199.27_2'
 Signal was 9, Returncode was 0


would you help me to know what happen whit this.

Thanks

-- 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/mrtg/attachments/20080116/cb9cc30d/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: SUNLogo.gif
Type: image/gif
Size: 3808 bytes
Desc: not available
Url : http://lists.oetiker.ch/pipermail/mrtg/attachments/20080116/cb9cc30d/attachment-0001.gif 


More information about the mrtg mailing list