Make sure you have installed all the dependency packages from sunfreeware.com for your platform (or at least the packages necessary for gcc so you can compile GD, libpng, etc yourself). Please do not use LD_LIBRARY_PATH (it's a major security issue); use crle instead (man crle for details). If you followed the dependencies for GCC then libiconv package should have been been installed. (I think libintl is the other dependency for GCC from sunfreeware.com).
-CN This is a PRIVATE message. If you are not the intended recipient, please delete without copying and kindly advise us by e-mail of the mistake in delivery. NOTE: Regardless of content, this e-mail shall not operate to bind CSC to any order or other contract unless pursuant to explicit written agreement or government initiative expressly permitting the use of e-mail for such purpose. From: Steve Shipway <[email protected]> To: Montoya <[email protected]>, "[email protected]" <[email protected]> Date: 12/29/2009 04:01 PM Subject: Re: [mrtg] Configure MRTG ld.so.1: gcc: fatal: libiconv.so.2: open failed: No such file or directory 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 export LD_LIBRARY_PATH=/usr/lib:/usr/local/lib export LIBFLAGS=”-L/usr/local/lib” export CPPFLAGS=”-I/usr/local/include” configure –prefix=/usr/local/mrtg-2 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) Steve From: [email protected] [mailto:[email protected]] On Behalf Of Montoya Sent: Wednesday, 30 December 2009 6:13 a.m. To: [email protected]; [email protected] Subject: [mrtg] Configure MRTG ld.so.1: gcc: fatal: libiconv.so.2: open failed: No such file or directory HI Experts 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 zlib-1.2.3-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 Thanks... r...@hcons07 # echo $PATH /usr/sbin:/usr/bin:/usr/ccs/bin:/usr/openwin/bin:/usr/dt/bin:/usr/platform/SUNW,Sun-Blade-1000/sbin:/opt/sun/bin:/opt/SUNWexplo/bin:/opt/SUNWsneep/bin:/opt/CTEact/bin:/opt/SUNWswasr/bin/:/usr/local/bin:/usr/lib/ r...@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. r...@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 _______________________________________________ mrtg mailing list [email protected] https://lists.oetiker.ch/cgi-bin/listinfo/mrtg
_______________________________________________ mrtg mailing list [email protected] https://lists.oetiker.ch/cgi-bin/listinfo/mrtg
