<br><font size=2 face="sans-serif">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).</font>
<br>
<br>
<br><font size=2 face="sans-serif">-CN</font>
<br><font size=2 face="sans-serif"><br>
<br>
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. <br>
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.</font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">From:</font>
<td><font size=1 face="sans-serif">Steve Shipway <s.shipway@auckland.ac.nz></font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">To:</font>
<td><font size=1 face="sans-serif">Montoya <Juan.Montoya@sun.com>,
"mrtg@lists.oetiker.ch" <mrtg@lists.oetiker.ch></font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">Date:</font>
<td><font size=1 face="sans-serif">12/29/2009 04:01 PM</font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">Subject:</font>
<td><font size=1 face="sans-serif">Re: [mrtg] Configure MRTG ld.so.1: gcc:
fatal: libiconv.so.2: open failed: No such file or directory</font></table>
<br>
<hr noshade>
<br>
<br>
<br>
<br><font size=1 color=#000080 face="Arial">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</font>
<br>
<br><font size=1 color=#000080 face="Arial"> </font>
<br>
<br><font size=1 color=#000080 face="Arial">export LD_LIBRARY_PATH=/usr/lib:/usr/local/lib
</font>
<br>
<br><font size=1 color=#000080 face="Arial">export LIBFLAGS=”-L/usr/local/lib”
</font>
<br>
<br><font size=1 color=#000080 face="Arial">export CPPFLAGS=”-I/usr/local/include”
</font>
<br>
<br><font size=1 color=#000080 face="Arial">configure –prefix=/usr/local/mrtg-2</font>
<br>
<br><font size=1 color=#000080 face="Arial"> </font>
<br>
<br><font size=1 color=#000080 face="Arial">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)</font>
<br>
<br><font size=1 color=#000080 face="Arial"> </font>
<br>
<br><font size=1 color=#000080 face="Arial">Steve</font>
<br>
<br><font size=1 color=#000080 face="Arial"> </font><font size=2 face="Times New Roman">
</font>
<div align=center>
<br>
<hr>
<br></div>
<br>
<br><font size=1 face="Tahoma"><b>From:</b></font><tt><font size=2> mrtg-bounces@lists.oetiker.ch
[</font></tt><a href="mailto:mrtg-bounces@lists.oetiker.ch"><tt><font size=2>mailto:mrtg-bounces@lists.oetiker.ch</font></tt></a><tt><font size=2>]
<b>On Behalf Of </b>Montoya</font></tt>
<br><tt><font size=2><b>Sent:</b> Wednesday, 30 December 2009 6:13 a.m.</font></tt>
<br><tt><font size=2><b>To:</b> mrtg@lists.oetiker.ch; mrtg-bounces@lists.oetiker.ch</font></tt>
<br><tt><font size=2><b>Subject:</b> [mrtg] Configure MRTG ld.so.1: gcc:
fatal: libiconv.so.2: open failed: No such file or directory</font></tt>
<br>
<br><font size=2 face="Times New Roman"> </font>
<br>
<br><font size=2 face="Times New Roman">HI Experts </font>
<br>
<br><font size=2 face="Times New Roman">I try to instal MRTG in a Sun Blade
</font>
<br><font size=2 face="Times New Roman">I installed the follows packages:
</font>
<br>
<br>
<br><font size=2 face="Times New Roman">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
</font>
<br><font size=2 face="Times New Roman">zlib-1.2.3-sol10-sparc-local </font>
<br>
<br><font size=2 face="Times New Roman">But when i run the command, present
this messages </font>
<br><font size=2 face="Times New Roman">could youre help me to understand
this </font>
<br><font size=2 face="Times New Roman">and what can i do to resolv
this </font>
<br><font size=2 face="Times New Roman">Thanks... </font>
<br>
<br>
<br><font size=2 face="Times New Roman">root@hcons07 # echo $PATH </font>
<br><font size=2 face="Times New Roman"><i>/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/</i>
</font>
<br>
<br>
<br><font size=2 face="Times New Roman">root@hcons07 # ./configure --prefix=/usr/local/mrtg-2
</font>
<br><font size=2 face="Times New Roman">checking for gcc... gcc </font>
<br><font size=2 face="Times New Roman">checking for C compiler default
output file name... </font>
<br><font size=2 face="Times New Roman">configure: error: C compiler cannot
create executables </font>
<br><font size=2 face="Times New Roman">See `config.log' for more details.
</font>
<br><font size=2 face="Times New Roman">root@hcons07 # more config.log
</font>
<br><font size=2 face="Times New Roman">This file contains any messages
produced by compilers while </font>
<br><font size=2 face="Times New Roman">running configure, to aid debugging
if configure makes a mistake. </font>
<br>
<br><font size=2 face="Times New Roman">It was created by configure, which
was </font>
<br><font size=2 face="Times New Roman">generated by GNU Autoconf 2.61.
Invocation command line was </font>
<br>
<br><font size=2 face="Times New Roman"> $ ./configure --prefix=/usr/local/mrtg-2
</font>
<br>
<br>
<br>
<br><tt><font size=2>_______________________________________________<br>
mrtg mailing list<br>
mrtg@lists.oetiker.ch<br>
</font></tt><a href="https://lists.oetiker.ch/cgi-bin/listinfo/mrtg"><tt><font size=2>https://lists.oetiker.ch/cgi-bin/listinfo/mrtg</font></tt></a>
<br>
<br>
<br>