[mrtg] Re: lib error

Don Buchholz buchhod at kentrox.com
Wed Dec 1 20:05:42 MET 1999


You need to set your LD_LIBRARY_PATH.  I use a wrapper named
/usr/local/mrtg/run_mrtg.  It sets the path, and then runs:

    #!/bin/sh
 
    LD_LIBRARY_PATH=/usr/lib:/usr/openwin/lib:/usr/dt/lib:/usr/ucblib:/usr/local/lib
    export LD_LIBRARY_PATH
 
    cd /usr/local/mrtg
    ./mrtg mrtg.conf

The crontab entry is simply:

    0,5,10,15,20,25,30,35,40,45,50,55 * * * * /usr/local/mrtg/run_mrtg


- Don Buchholz, Communication Networks Manager   <don_buchholz at adc.com>
- ADC Telecommunications, Broadband Business Group - Portland, OR - USA
- 14375 NW Science Park Drive, Portland, OR 97229
- phone: 503/350-6466    FAX: 503/641-3321



On Wed, 1 Dec 1999 Francisco.Alcala at undcp.org wrote:

> 
> 
>      Hi,
> 
>      When running MRTG 2.8.8 on Solaris 2.6 from the command prompt, it
>      works fine. When I run it from root's cron job, I get the following
>      error message:
> 
>      ld.so.1: /usr/local/mrtg//rateup: fatal: libpng.so.2: open failed: No
>      such file or directory
> 
>      I'd be grateful, if anyone could help me to correct this problem.
> 
>      Curro.
> 
> 
> --
> * To unsubscribe from the mrtg mailing list, send a message with the
>   subject: unsubscribe to mrtg-request at list.ee.ethz.ch
> * The mailing list archive is at http://www.ee.ethz.ch/~slist/mrtg
> 

--
* To unsubscribe from the mrtg mailing list, send a message with the
  subject: unsubscribe to mrtg-request at list.ee.ethz.ch
* The mailing list archive is at http://www.ee.ethz.ch/~slist/mrtg


More information about the mrtg mailing list