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
