[mrtg] Configure MRTG ld.so.1: gcc: fatal: libiconv.so.2: open failed: No such file or directory
s.shipway at auckland.ac.nz
Tue Dec 29 22:00:48 CET 2009
You may need to set LD_LIBRARY_PATH=/usr/lib:/usr/local/lib since it looks like you've installed your libraries into /usr/local. Also, when you run configure, you need to add /usr/local/lib as a library path - try something like
Finally I think you will need to install libiconv (you can get the libiconv-sol10-sparc-local package from subsite along with all the others)
From: mrtg-bounces at lists.oetiker.ch [mailto:mrtg-bounces at lists.oetiker.ch] On Behalf Of Montoya
Sent: Wednesday, 30 December 2009 6:13 a.m.
To: mrtg at lists.oetiker.ch; mrtg-bounces at lists.oetiker.ch
Subject: [mrtg] Configure MRTG ld.so.1: gcc: fatal: libiconv.so.2: open failed: No such file or directory
I try to instal MRTG in a Sun Blade
I installed the follows packages:
libpng-1.2.40-sol10-sparc-local gcc-3.4.6-sol10-sparc-local mrtg-2.16.2 gd-2.0.35-sol10-sparc-local
But when i run the command, present this messages
could youre help me to understand this
and what can i do to resolv this
root at hcons07 # echo $PATH
root at hcons07 # ./configure --prefix=/usr/local/mrtg-2
checking for gcc... gcc
checking for C compiler default output file name...
configure: error: C compiler cannot create executables
See `config.log' for more details.
root at hcons07 # more config.log
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by configure, which was
generated by GNU Autoconf 2.61. Invocation command line was
$ ./configure --prefix=/usr/local/mrtg-2
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the mrtg